About LockTimeoutException
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 ...
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 ...
javax.persistence.LockTimeoutException
Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.(Exception of JPA)
LockTimeoutException()
Constructs a new LockTimeoutException exception with null as its detail message.(Constructor of javax.persistence.LockTimeoutException)
LockTimeoutException(cause)
Constructs a new LockTimeoutException exception with the specified cause.(Constructor of javax.persistence.LockTimeoutException)
LockTimeoutException(entity)
Constructs a new LockTimeoutException exception with the specified object.(Constructor of javax.persistence.LockTimeoutException)
LockTimeoutException(message)
Constructs a new LockTimeoutException exception with the specified detail message.(Constructor of javax.persistence.LockTimeoutException)
LockTimeoutException(message, cause)
Constructs a new LockTimeoutException exception with the specified detail message and cause.(Constructor of javax.persistence.LockTimeoutException)
LockTimeoutException(message, cause, entity)
Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity.(Constructor of javax.persistence.LockTimeoutException)
javax.persistence.EntityManager
Interface used to interact with the persistence context.(Interface of JPA)