[hibernate-issues] [JIRA] (HHH-11497) AbstractTransactSQLDialect.applyLocksToSql mangles the sql