Home » Search

About PessimisticLockException

1-10 of 27Refresh
JPA Doc
108

PessimisticLockException()

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

PessimisticLockException(cause)

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

PessimisticLockException(entity)

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

PessimisticLockException(message)

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

PessimisticLockException(message, cause)

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

PessimisticLockException(message, cause, entity)

Constructor javax.persistence.PessimisticLockException PessimisticLockException(   String message,   Throwable cause,   Object entity ) Constructs a new PessimisticLockException 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
99

javax.persistence.PessimisticLockException

javax.persistence Exception PessimisticLockException java.lang.Object java.lang.Throwable ... .PersistenceException javax.persistence.PessimisticLockException Implemented ... transaction, if one is active, will be marked for rollback. Since: JPA 2.0 PessimisticLockException
JPA Doc
79

JPA Exceptions

.OptimisticLockException javax.persistence.PessimisticLockException javax
JPA Doc
75

getEntity()

Method javax.persistence.PessimisticLockException Object getEntity() Returns the entity that caused this exception. Returns: the entity. Since: JPA 2.0
Manual
56

Locking in JPA

Explains how to use optimistic locking and pessimistic locking in JPA.