[hibernate-issues] [JIRA] (HHH-2924) WHERE clause not being converted into SQL correctly