[hibernate-issues] [Hibernate-JIRA] (HHH-7613) JPA2 Criteria API creates invalid SQL when using groupBy