[hibernate-dev] HHH-13364

Gail Badner gbadner at redhat.com
Thu Apr 11 22:46:51 EDT 2019

EntityManager#find and Query#getResultList / #getSingleResult do not behave
consistently when failing to get a pessimistic lock with a timeout provided.

I think EntityManager#find is working correctly, and I think
Query#getResultList / #getSingleResult should be consistent with

Could someone please take a look at HHH-13364 and let me know if I'm
missing something?

I've also created a pull request with tests and fix:


More information about the hibernate-dev mailing list