[hibernate-issues] [JIRA] (HHH-7229) hql converts to wrong sql: brackets trouble