About LockTimeoutException

manual

Locking in JPA

Explains how to use optimistic locking and pessimistic locking in JPA.... locking requires an active transaction. A LockTimeoutException javax.persistence.LockTimeoutException JPA exception Thrown by the persistence ...

 
api-jpa

JPA Exceptions

Reference (JavaDoc) of the JPA exception classes, including PersistenceException, EntityExistsException, EntityNotFoundException, LockTimeoutException, NonUniqueResultException, NoResultException, OptimisticLockException, PessimisticLockException, QueryTimeoutException, RollbackException, TransactionRequiredException.... javax.persistence.LockTimeoutException ... are lock failures: javax.persistence.LockTimeoutException javax.persistence.OptimisticLockException ...

 
api-jpa

javax.persistence.LockTimeoutException

Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.(Exception of JPA)

 
api-jpa

LockTimeoutException()

Constructs a new LockTimeoutException exception with null as its detail message.(Constructor of javax.persistence.LockTimeoutException)

 
api-jpa

LockTimeoutException(cause)

Constructs a new LockTimeoutException exception with the specified cause.(Constructor of javax.persistence.LockTimeoutException)

 
api-jpa

LockTimeoutException(entity)

Constructs a new LockTimeoutException exception with the specified object.(Constructor of javax.persistence.LockTimeoutException)

 
api-jpa

LockTimeoutException(message)

Constructs a new LockTimeoutException exception with the specified detail message.(Constructor of javax.persistence.LockTimeoutException)

 
api-jpa

LockTimeoutException(message, cause)

Constructs a new LockTimeoutException exception with the specified detail message and cause.(Constructor of javax.persistence.LockTimeoutException)

 
api-jpa

LockTimeoutException(message, cause, entity)

Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity.(Constructor of javax.persistence.LockTimeoutException)

 
api-jpa

javax.persistence.EntityManager

Interface used to interact with the persistence context.(Interface of JPA)