public static void addGISTypes(PGConnection pgconn) { pgconn.addDataType("geometry", "org.postgis.jts.JtsGeometry"); pgconn.addDataType("box3d", "org.postgis.PGbox3d");
public static void addGISTypes(PGConnection pgconn) throws SQLException { pgconn.addDataType("geometry", org.postgis.jts.JtsGeometry.class); pgconn.addDataType("box3d", org.postgis.PGbox3d.class); pgconn.addDataType("box2d", org.postgis.PGbox2d.class);
    public static void addGISTypes(PGConnection pgconn) {        pgconn.addDataType("geometry", "org.postgis.jts.JtsGeometry");        pgconn.addDataType("box3d", "org.postgis.PGbox3d");        //pgconn.addDataType("geometry",        // org.postgis.jts.JtsGeometry.class);        //pgconn.addDataType("box3d", org.postgis.PGbox3d.class);    }