[postgis-users] Retrieving and storing Geography column data through JDBC (Java/Hibernate)
kristof.adriaenssens at gmail.com
Fri May 21 07:00:56 PDT 2010
We used the GeometryType Hibernate UserType that gets delivered with Postgis
1.5 (java/ejb3) to store and retrieve Geometry column data.
This works fine but unfortunately it does not seem to support the new
Geography data type.
We tried storing Point and LineString Geometry objects (SRID set to 4326)
but we get an exception that a bytea can't be converted to Geography.
We use the org.postgis.DriverWrapper Driver class name which is supposed to
automatically load support for the spatial types.
Is there a known work-around that would work for us, preferably through
JDBC? If not now then are there plans to support this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users