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(). --Hardy _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev