I gave a look at your PR and the change makes sense to me
Andrea
On Fri, 12 Apr 2019 at 03:54, Gail Badner <gbadner(a)redhat.com> wrote:
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev