Opened 15 years ago

Closed 4 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 robe, 13 years ago

Milestone: PostGIS 1.5.3PostGIS 2.0.0

comment:2 by pramsey, 13 years ago

Milestone: PostGIS 2.0.0PostGIS Future

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.

comment:3 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

comment:4 by robe, 4 months ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.