Home » Search

About LockTimeoutException

11-20 of 32Refresh
Forum
26

javax.persistence.LockTimeoutException

Is it possible to change a LockTimeout for pessimistic lock? Currently ObjectDB throws a LockTimeoutException immediately when a pessimistic lock cannot be granted. Future versions will support timeout setting. You may fill a feature request to increase the priority of this feature.   glaz
JPA Doc
23

javax.persistence.EntityManager

the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback ... back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException ... the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor
Manual
22

Setting and Tuning of JPA Queries

a LockTimeoutException. Query Hints Additional settings can be applied to queries via hints. Supported Query
JPA Doc
13

javax.persistence.TypedQuery

- if pessimistic locking fails and the transaction is rolled back LockTimeoutException ... back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException
JPA Doc
9

find(entityClass, primaryKey, lockMode)

locking failure causes transaction-level rollback the LockTimeoutException will be thrown ... fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
9

find(entityClass, primaryKey, lockMode, properties)

rollback the LockTimeoutException will be thrown if the database locking failure causes only statement ... and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
9

find(entityClass, primaryKey, lockMode, properties)

-level rollback the LockTimeoutException will be thrown if the database locking failure causes ... locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
9

javax.persistence.PersistenceException

, EntityNotFoundException, LockTimeoutException, NonUniqueResultException, NoResultException ... except for instances of NoResultException, NonUniqueResultException, LockTimeoutException
JPA Doc
9

javax.persistence.Query

locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking ... fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
9

lock(entity, lockMode)

if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown ... fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails