[hibernate-dev] [HSEARCH] Geospatial indexing and queries

Hardy Ferentschik hardy at hibernate.org
Mon Dec 19 10:17:23 EST 2011

I am sitting in a similar boat than Sanne. I don't know how much useful feedback I can provide w/o first getting to
know the actual problem space better. 

Looking at the Jira issue and comments, I like the idea of having the @Spatial annotation. One think which comes 
to my mind here is how this all relates to supporting geospatial data types in Core - https://hibernate.onjira.com/browse/HHH-6509

Will our approach work with these types? Is this completely orthogonal to the mentioned Core data types?

What exactly offers this JTS library?

Regarding the DSL, I would definitely go for the approach where we have a unit (.within(2, Unit.km)) instead of .within(2).km().


More information about the hibernate-dev mailing list