On Dec 19, 2011, at 6:04 PM, Emmanuel Bernard wrote: > spatial() > .onCoordinates("location") > .within(2, KM).of(JTSLocation.class, jtsObject) > .createQuery(); > ```
I prefer this, but probably with the arguments in 'of' rotated: spatial() .onCoordinates("location") .within(2, KM).of(jtsObject, JTSLocation.class,) .createQuery(); --Hardy _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev