|Postgis Eclipselink JPA [message #636934]
||Wed, 03 November 2010 12:36
| Dan Hargreaves
Registered: November 2010
We currently have a JPA setup using eclipselink persisting out entities in a postgres database. We use JPA to create the schema as well as persisting everything.
What we would like to do is introduce some spatial data into the database and use the database to perform queries on this.
I have installed and followed some simple examples of Postgis and determined that it could support the queries we want however I have fallen down at trying to integrate it with our JPA setup.
Seraching the web there appears to be almost no indication that this could work apart from a few message board posts a considerable amount of time ago.
I have followed the suggestions I've found, using a postgis driver, using postgis and vividsolutions data types and supplying a @Converter however these seem to have little impact on the resulting schema. The field type is either bytea or if a converter is supplied varchar.
Can anybody clarify whether this is supported so I can look at something else or identify where I might be going wrong.
[Updated on: Wed, 03 November 2010 13:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02337 seconds