criteria « Oracle « JPA Q&A





1. Get HQL statement from NHibenate Criteria    stackoverflow.com

I have a simple criteria with NHibenate spatial function and I want to get the HQL statement from the criteria. The criteria:

Session
  .CreateCriteria<MyObject>()
  .Add(Expression.Not(SpatialRestrictions.Disjoint("Extent", IGeometryObject");
Thanks