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