[hibernate-issues] [JIRA] (HHH-2724) Update EJBQL query generating bad SQL