postgis/jdbc/README
No Body 3cda119445 Initial revision
git-svn-id: http://svn.osgeo.org/postgis/trunk@2 b70326c6-7e19-0410-871a-916f4a2858ee
2001-06-22 17:39:29 +00:00

10 lines
331 B
Plaintext

To use the PostGIS types, you must:
- have the postgis.jar in your CLASSPATH
- have a PostgreSQL JDBC Connection instance
Connection conn = new Connection();
((org.postgresql.Connection)conn).addDataType("geometry","org.postgis.PGgeometry");
((org.postgresql.Connection)conn).addDataType("box3d","org.postgis.PGbox3d");
-