Class SDOSqlDumper


  • public class SDOSqlDumper
    extends Object
    Converts a JTS geometry into the equivalent MDSYS.SDO_GEOMETRY SQL syntax. Useful for non prepared statement based dialects and for debugging purposes
    • Constructor Detail

      • SDOSqlDumper

        public SDOSqlDumper()
    • Method Detail

      • toSDOGeom

        public static String toSDOGeom​(Geometry geometry,
                                       int srid)
        Converts JTS Geometry to a String version of a SDO Geometry. This should move to a utility class, as we now have more than one class using this (which is why it changed to public static)

        TODO: Multi eometries

        Parameters:
        geometry - The JTS Geometry to convert.
        Returns:
        A String representation of the SDO Geometry.