<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938561207-27072007>Hi 
Andy,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=938561207-27072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938561207-27072007>thanks 
for this useful information. I read the ejb3spatial.pdf and have some further 
questions on this topic :)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=938561207-27072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938561207-27072007>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?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=938561207-27072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938561207-27072007>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?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=938561207-27072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=938561207-27072007>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=938561207-27072007>Thorsten</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> 
  postgis-users-bounces@postgis.refractions.net 
  [mailto:postgis-users-bounces@postgis.refractions.net]<B>Im Auftrag von 
  </B>Andy Dale<BR><B>Gesendet:</B> Freitag, 27. Juli 2007 09:10<BR><B>An:</B> 
  PostGIS Users Discussion<BR><B>Betreff:</B> Re: [postgis-users] PostGIS and 
  Hibernate<BR><BR></FONT></DIV>Hi Thorsten,<BR><BR>A person called Norman 
  Barker has created a user type for Hibernate, this can be accessed here <A 
  href="http://svn.refractions.net/postgis/trunk/java/ejb3/">http://svn.refractions.net/postgis/trunk/java/ejb3/ 
  </A>also read the ejb3spatial.pdf located here as it gives a example of how to 
  use it.<BR><BR>Cheers,<BR><BR>Andy<BR><BR><BR><BR>
  <DIV><SPAN class=gmail_quote>On 27/07/07, <B class=gmail_sendername>Thorsten 
  Kraus</B> < <A 
  href="mailto:Thorsten.Kraus@ptv.de">Thorsten.Kraus@ptv.de</A>> 
wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>
    <P><FONT face=Arial size=2>Hi all,</FONT> </P>
    <P><FONT face=Arial size=2>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. </FONT></P>
    <P><FONT face=Arial size=2>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.</FONT></P>
    <P><FONT face=Arial size=2>Kind regards,</FONT> <BR><FONT face=Arial 
    size=2>Thorsten</FONT> 
    </P></DIV><BR>_______________________________________________<BR>postgis-users 
    mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net 
    </A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://postgis.refractions.net/mailman/listinfo/postgis-users" 
    target=_blank>http://postgis.refractions.net/mailman/listinfo/postgis-users</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>