[hibernate-issues] [JIRA] (HHH-8521) LockMode should be checked on query execution, not during call to setLockMode