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 EntityManager#find. 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: https://github.com/hibernate/hibernate-orm/pull/2827 Thanks, Gail _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev