Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-7833
Database Lock does not released after update or even after session closed
My application use multi-tenancy (with ehcache) and pessimistic & optimistic locking feature from Hibernate. For the pesimistic locking, the isolation level is set to 2, and optimistic locking is using "opt_lock" table column as version field.

When I execute a certain web request, the process should create multiple DB session and should work as the follo...