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