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...
|