BTW, these tests are in org.hibernate.test.jpa.lock.LockExceptionTests which I have pushed to master just this morning. We will see if they fail on our MySQL CI job.