[hibernate-issues] [JIRA] (HHH-12040) Add simple validation for CriteriaQuery and groupBy/having