Opened 14 years ago
Last modified 7 years ago
#530 new defect
Retrieving and storing Geography column data through JDBC does not work
Reported by: | kristof | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | postgis | Version: | 1.5.X |
Keywords: | geography GeometryType java jdbc | Cc: |
Description
We used the GeometryType Hibernate UserType that gets delivered with Postgis 1.5.x (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 casted to a Geography. We use the org.postgis.DriverWrapper Driver class name which is supposed to automatically load support for the spatial types.
Change History (3)
comment:1 by , 13 years ago
Milestone: | PostGIS 1.5.3 → PostGIS 2.0.0 |
---|
comment:2 by , 13 years ago
Milestone: | PostGIS 2.0.0 → PostGIS Future |
---|
Note:
See TracTickets
for help on using tickets.
I can't do anything regarding the Java code, but I've added bytea/geography casting pair for the use of the Java person who wants to provide support. r7415
Moving to the future.