Opened 15 years ago
Closed 5 months ago
#530 closed defect (wontfix)
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 (4)
comment:1 by , 14 years ago
Milestone: | PostGIS 1.5.3 → PostGIS 2.0.0 |
---|
comment:2 by , 14 years ago
Milestone: | PostGIS 2.0.0 → PostGIS Future |
---|
comment:4 by , 5 months ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
java is now here - https://github.com/postgis/postgis-java
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.