hibernate/hibernate-orm — pull request #294 by ShawnClowater (2012-03-22 23:33:03+00:00)
Title: HHH-7194

Fixed NullPointerException when using nested Subqueries in the CriteriaAPI when trying to determine the entity name and added test that demonstrates the issue.