[hibernate-issues] [JIRA] (HHH-13323) QueryException using new syntax type() but works using .class syntax