About LockTimeoutException

1-10 of 32Refresh
JPA Doc
107

LockTimeoutException()

Constructor javax.persistence.LockTimeoutException LockTimeoutException() Constructs a new LockTimeoutException exception with null as its detail message. Since: JPA 2.0
JPA Doc
107

LockTimeoutException(cause)

Constructor javax.persistence.LockTimeoutException LockTimeoutException(   Throwable cause ) Constructs a new LockTimeoutException exception with the specified cause. Parameters: cause - the cause. Since: JPA 2.0
JPA Doc
107

LockTimeoutException(entity)

Constructor javax.persistence.LockTimeoutException LockTimeoutException(   Object entity ) Constructs a new LockTimeoutException exception with the specified object. Parameters: entity - the entity. Since: JPA 2.0
JPA Doc
107

LockTimeoutException(message)

Constructor javax.persistence.LockTimeoutException LockTimeoutException(   String message ) Constructs a new LockTimeoutException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 2.0
JPA Doc
107

LockTimeoutException(message, cause)

Constructor javax.persistence.LockTimeoutException LockTimeoutException(   String message,   Throwable cause ) Constructs a new LockTimeoutException exception with the specified detail message and cause. Parameters: message - the detail message. cause - the cause. Since: JPA 2.0
JPA Doc
107

LockTimeoutException(message, cause, entity)

Constructor javax.persistence.LockTimeoutException LockTimeoutException(   String message,   Throwable cause,   Object entity ) Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0
JPA Doc
96

javax.persistence.LockTimeoutException

javax.persistence Exception LockTimeoutException java.lang.Object java.lang.Throwable ... .PersistenceException javax.persistence.LockTimeoutException Implemented Interfaces ... . Since: JPA 2.0 LockTimeoutException() Constructs a new LockTimeoutException exception with null as
JPA Doc
74

getObject()

Method javax.persistence.LockTimeoutException Object getObject() Returns the object that caused this exception. Returns: the entity Since: JPA 2.0
Manual
35

Locking in JPA

an active transaction. A LockTimeoutException is thrown if the requested pessimistic lock ... of pessimistic lock modes, which also includes PESSIMISTIC_WRITE, will cause a LockTimeoutException ... occurs a LockTimeoutException is thrown immediately. The "javax.persistence.lock.timeout" hint
Forum
24

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