[hibernate-issues] [JIRA] (HHH-10757) "select new ..." with CAST( NULL AS ...) fails with QuerySyntaxException: unexpected AST node: NULL