Added a simple test case demonstrating the issue and the difference between Hibernate3 and Hibernate4.
Running with hibernate3: all tests pass
mvn -Phibernate3 clean test
Running with hibernate4: Criteria and HQL fails (get works because it doesn't use filters)
mvn -Phibernate4 clean test
|