« Return to Thread: PostGIS - hibernate - EJB3

RE: RE: PostGIS - hibernate - EJB3

by Norman Barker-3 :: Rate this Message:

Reply to Author | View in Thread



-----Original Message-----
From: postgis-users-bounces@...
[mailto:postgis-users-bounces@...] On Behalf Of
croisfert
Sent: Monday, August 21, 2006 2:54 AM
To: postgis-users@...
Subject: [postgis-users] RE: PostGIS - hibernate - EJB3


hi,  I am trying to use custom UserType, but it work fine in a pure
Hibernate
implementation , but not in JBOSS EJB3, the generated geometry column in
postgres is of type "oid" instead of "geometry"    You have any
suggestion,
i am using jboss-EJB-3.0_RC8-FD and postgis 1.1.3 (on postgres 8.1.4)


thanks.
--


Make sure that the usertype is available on your classpath, I have only
tested it with the Geometry Column type (as the name implies!!), I also
set up postgis as a datasource within JBoss - postgis-ds.xml, and
configured the persistence.xml.  I am writing up a doc for this shortly;
just don't have too much time this week.

Norman
_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users

 « Return to Thread: PostGIS - hibernate - EJB3