Trying around a bit shows that a LockTimeoutException (that has no effect on
the transaction state) is only thrown if:
- entity manager find (entityManager.find(LockEntity.class, lockId,
LockModeType.PESSIMISTIC_WRITE)) is used.
- and the entity to be locked was not loaded before within the transaction.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/No-transaction-rollback-in-case-of-pessimistic-locking-failure-tp4665710p4666066.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to