[hibernate-issues] [JIRA] (HHH-2266) Incorrect SQL emitted for EJB query involving COUNT()