[hibernate-issues] [JIRA] (HHH-16452) Statement inside select with long parameter wrongly cast to bigint for MySQL