I am trying to write a unit test class which will have to use same query to fetch the results from database two times in same test method. But as Hibernate cache is enabled
After the first time you query the result,call session.clear and then the same query will hit the database rather than level 1 cache