[hibernate-issues] [JIRA] (HHH-12733) unable to use the named query with optimize clause