[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    RE: [postgis-users] RE: PostGIS - hibernate - EJB3
From:       "Norman Barker" <nbarker () ittvis ! com>
Date:       2006-08-22 21:54:38
Message-ID: B67A5FB7A8114B47A70517C9C0D102E8131ABA () bath ! uk ! rsinc ! com
[Download RAW message or body]



-----Original Message-----
From: postgis-users-bounces@postgis.refractions.net
[mailto:postgis-users-bounces@postgis.refractions.net] On Behalf Of
croisfert
Sent: Monday, August 21, 2006 2:54 AM
To: postgis-users@postgis.refractions.net
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.
--=20


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic