[hibernate-issues] [JIRA] (HHH-11874) TYPE() selector with update generates wrong SQL (on mysql)