About PessimisticLockException

11-20 of 26Refresh
JPA Doc
14

javax.persistence.TypedQuery

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException
JPA Doc
10

find(entityClass, primaryKey, lockMode)

instance is found but cannot be locked: the PessimisticLockException will be thrown if the database ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking
JPA Doc
10

find(entityClass, primaryKey, lockMode, properties)

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
JPA Doc
10

find(entityClass, primaryKey, lockMode, properties)

but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic
JPA Doc
10

javax.persistence.Query

- if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic ... mode has been set and there is no transaction PessimisticLockException - if pessimistic locking
JPA Doc
10

lock(entity, lockMode)

and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking
JPA Doc
10

lock(entity, lockMode, properties)

but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
JPA Doc
10

refresh(entity, lockMode)

instance is found but cannot be locked: the PessimisticLockException will be thrown if the database ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException
JPA Doc
10

refresh(entity, lockMode, properties)

but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction ... other than NONE EntityNotFoundException - if the entity no longer exists in the database PessimisticLockException
JPA Doc
7

getResultList()

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException