Home » Search

About OptimisticLockException

1-10 of 27Refresh
JPA Doc
102

OptimisticLockException()

Constructor javax.persistence.OptimisticLockException OptimisticLockException() Constructs a new OptimisticLockException exception with null as its detail message. Since: JPA 1.0
JPA Doc
102

OptimisticLockException(cause)

Constructor javax.persistence.OptimisticLockException OptimisticLockException(   Throwable cause ) Constructs a new OptimisticLockException exception with the specified cause. Parameters: cause - the cause. Since: JPA 1.0
JPA Doc
102

OptimisticLockException(entity)

Constructor javax.persistence.OptimisticLockException OptimisticLockException(   Object entity ) Constructs a new OptimisticLockException exception with the specified entity. Parameters: entity - the entity. Since: JPA 1.0
JPA Doc
102

OptimisticLockException(message)

Constructor javax.persistence.OptimisticLockException OptimisticLockException(   String message ) Constructs a new OptimisticLockException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 1.0
JPA Doc
102

OptimisticLockException(message, cause)

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

OptimisticLockException(message, cause, entity)

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

javax.persistence.OptimisticLockException

javax.persistence Exception OptimisticLockException java.lang.Object java.lang.Throwable ... .PersistenceException javax.persistence.OptimisticLockException Implemented ... ) OptimisticLockException() Constructs a new OptimisticLockException exception with null as its detail message
JPA Doc
71

getEntity()

Method javax.persistence.OptimisticLockException Object getEntity() Returns the entity that caused this exception. Returns: the entity. Since: JPA 1.0
JPA Doc
70

JPA Exceptions

.OptimisticLockException javax.persistence.PessimisticLockException javax
Manual
70

Locking in JPA

of the in-memory object being updated. The transaction fails and an OptimisticLockException is thrown