Index: src/main/java/org/hibernatespatial/oracle/SDOPoint.java =================================================================== --- src/main/java/org/hibernatespatial/oracle/SDOPoint.java (revision 323) +++ src/main/java/org/hibernatespatial/oracle/SDOPoint.java (working copy) @@ -27,6 +27,18 @@ } } + public SDOPoint(Double[] coord) { + try { + this.x = coord[0]; + this.y = coord[1]; + try { + this.z = coord[2]; + } catch(IndexOutOfBoundsException e){} + } catch (Exception e) { + throw new RuntimeException(e); + } + } + public String toString() { StringBuilder stb = new StringBuilder(); stb.append("(").append(x).append(",").append(y).append(",").append(