[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2436) Incorrect SQL generation for some select statements with "group by"