[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2494) ClassCastException from Subquery with Criteria created via DetachedCriteria