[hibernate-issues] [JIRA] (HHH-11073) Casting to boolean in HQL query fails on MySQL