[hibernate-issues] [JIRA] (HHH-12769) Rework LockTest#testContendedPessimisticLock so that it can work on Oracle without throwing exceptions