[postgis-devel] Re: [postgis-users] Spatial Object Queries - complete

Chris Hodgson chodgson at refractions.net
Wed Jan 31 10:06:40 PST 2007


Norman, what exactly does this mean? We're presently using hibernate 
with PostGIS, we basically put together a UserType that uses the 
JtsParser/JtsWriter (very similar to the usertype that is buried 
somewhere deep in /java/ in svn). We're using HQL for most of our 
queries but have to resort to SQL for spatial-based queries using &&.

Will your code let us do && queries using HQL? How do spatial queries 
interact with the various levels of caching? Can it just plug into 
Hibernate without having to change any Hibernate code, like usertypes 
and such?

I'm very interested to hear how this works and see the code.

Chris

Paul Ramsey wrote:
> Norman Barker wrote:
>> After much time (and in the end a stupid mistake on my part of not
>> recognizing namespaces) I have added the code to do spatial object
>> queries (HibernateQL (HQL) and EJB(3)-QL) with PostGIS.
> 
> Norman,
> 
>> Hopefully you are happy to keep this with PostGIS, and give me commit
>> access to SVN so that I don't have to attach files!!
> 
> Well, you've crossed my threshold, and asked for commit access :) always 
> a good sign. Markus is in charge of that part of the code base, so we'll 
> see what he says.
> 
> P
> 




More information about the postgis-devel mailing list