Hi Norman<br><br>For using Hibernate with postgis ..i can directly use ur postgis.jar !! right ...??<br><br>Your Tutorial mainly aimed at using EJB3 with postgis ...<br>did u think of using Spring instead of EJB3 !! ??<br>
<br>Thanks<br>Sandeep<br><br><br><br><div><span class="gmail_quote">On 11/16/06, <b class="gmail_sendername">Norman Barker</b> <<a href="mailto:nbarker@ittvis.com">nbarker@ittvis.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Sandeep,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">To use JBoss EJB3 with PostGIS I had to
write a Hibernate Geometry Driver, the source code is in PostGIS SVN (LGPL) and
there is a tutorial available here</span></font></p>
<p style="margin-left: 0.5in; text-indent: -0.25in;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><span>-<font face="Times New Roman" size="1"><span>
</span></font></span></span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><a href="http://postgis.refractions.net/support/wiki/index.php?SpatialEJB3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://postgis.refractions.net/support/wiki/index.php?SpatialEJB3</a></span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">It allows creation and updates through Java,
the tutorial walks you through a simple SOAP example.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I am very interested in using the
hibernate lucene annotations (<a href="http://www.hibernate.org/hib_docs/annotations/reference/en/html/lucene.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.hibernate.org/hib_docs/annotations/reference/en/html/lucene.html
</a>)
in conjunction with the Geometry driver to create some sort of catalog; so that
we can do a proper geometry search on PostGIS through the business layer (not
just boxes!) and then seach on metadata with Lucene.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">A couple of people have expressed interest
in this hibernate geometry driver for Java, please give me some feedback on the
future direction you want this to go.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Norman</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">
</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:postgis-users-bounces@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">postgis-users-bounces@postgis.refractions.net</a>
[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">postgis-users-bounces@postgis.refractions.net</a>] <b><span style="font-weight: bold;">
On Behalf Of </span></b>Sandeep Kumar Jakkaraju<br>
<b><span style="font-weight: bold;">Sent:</span></b> 16 November 2006 15:30<br>
<b><span style="font-weight: bold;">To:</span></b> PostGIS
Users Discussion<br>
<b><span style="font-weight: bold;">Subject:</span></b> [postgis-users] Hibernate
with PostGIS</span></font></p>
</div><div><span class="e" id="q_10ef16c12a0539a0_1">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi All<br>
<br>
I want to know if i can use Hibernate with PostGIS ??<br>
if yes ..then can some one point me to some doc which tells abt this !!<br>
<br>
I am just skeptical about the geometry column !!<br>
<br>
Thanks<br>
Sandeep </span></font></p>
</span></div></div>
</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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sandeep Kumar Jakkaraju <br>WeBlog:<br><a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a>