AW: [postgis-users] PostGIS and Hibernate
Thorsten.Kraus at ptv.de
Fri Jul 27 00:22:54 PDT 2007
thanks for this useful information. I read the ejb3spatial.pdf and have some further questions on this topic :)
1. You mentioned that Norman Barker has created a user type for Hibernate. Is this user type an official component of the Hibernate framework or is it an addition where no support from the Hibernate team is guaranteed?
2. The tutorial in the pdf uses JBoss as application server. In my project I use Tomcat. So Tomcat is not a full application server, I think it is not possible to use Hibernate for PostGIS access in my project without changing the application server. Is this right?
Von: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net]Im Auftrag von Andy Dale
Gesendet: Freitag, 27. Juli 2007 09:10
An: PostGIS Users Discussion
Betreff: Re: [postgis-users] PostGIS and Hibernate
A person called Norman Barker has created a user type for Hibernate, this can be accessed here http://svn.refractions.net/postgis/trunk/java/ejb3/ <http://svn.refractions.net/postgis/trunk/java/ejb3/> also read the ejb3spatial.pdf located here as it gives a example of how to use it.
On 27/07/07, Thorsten Kraus < Thorsten.Kraus at ptv.de> wrote:
currently I am working for a project which uses PostGIS to store spatial objects in the backend of an web application (Tomcat is used as servlet container). Some time ago I searched the web for Hibernate support for PostGIS database and its geographical objects, but found nothing suitable. So I use Hibernate for non geographical attribute data and wrote some JDBC code for accessing the geographical objects in PostGIS. This hybrid structure of Hibernate and JDBC works fine, but it would even be nicer and more flexible if there was a possibility to handle all the database stuff with Hibernate.
Can you tell me if there is Hibernate support for PostGIS meanwhile? If yes, a piece of code or a link to a tutorial would be pleasant.
postgis-users mailing list
postgis-users at postgis.refractions.net <mailto:postgis-users at postgis.refractions.net>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users