Internal Website Search

1-26 of 26 results

PessimisticLockException.PessimisticLockException(message,cause,entity) - JPA Constructor

JPA Constructor in javax.persistence. PessimisticLockException PessimisticLockException (   String message,    Throwable cause,    Object entity ) Constructs a new PessimisticLockException exception with the specified detail message, cause

PessimisticLockException.PessimisticLockException(entity) - JPA Constructor

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

PessimisticLockException.PessimisticLockException(cause) - JPA Constructor

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

PessimisticLockException.PessimisticLockException(message) - JPA Constructor

JPA Constructor in 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

PessimisticLockException.PessimisticLockException(message,cause) - JPA Constructor

JPA Constructor in 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

PessimisticLockException.PessimisticLockException() - JPA Constructor

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

javax.persistence.PessimisticLockException

JPA Exception PessimisticLockException java.lang.Object ∟  java.lang.Throwable ∟  java ... ∟  javax.persistence. PessimisticLockException Thrown by the persistence provider ... Constructors PessimisticLockException () Constructs a new PessimisticLockException exception

PessimisticLockException.getEntity() - JPA Method

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

JPA Exceptions

javax.persistence.OptimisticLockException javax.persistence. PessimisticLockException javax.persistence

javax.persistence.EntityManager

instance is found but cannot be locked: the PessimisticLockException will be thrown if the database ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException ... but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes

javax.persistence.Query

to the transaction PessimisticLockException - if pessimistic locking fails and the transaction ... context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException

javax.persistence.TypedQuery

PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException ... to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled ... has not been joined to the transaction PessimisticLockException - if pessimistic locking fails

EntityManager.refresh(entity,lockMode,properties) - JPA Method

is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown ... EntityNotFoundException - if the entity no longer exists in the database PessimisticLockException - if pessimistic

EntityManager.lock(entity,lockMode,properties) - JPA Method

is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException

EntityManager.lock(entity,lockMode) - JPA Method

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException

EntityManager.refresh(entity,lockMode) - JPA Method

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback ... EntityNotFoundException - if the entity no longer exists in the database PessimisticLockException - if pessimistic

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

: the PessimisticLockException will be thrown if the database locking failure causes transaction ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking

EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic

javax.persistence.LockModeType

must throw the PessimisticLockException and ensure that the JTA transaction or EntityTransaction

Query.getResultStream() - JPA Method

the persistence context has not been joined to the transaction PessimisticLockException - if pessimistic locking

Query.getSingleResult() - JPA Method

has not been joined to the transaction PessimisticLockException - if pessimistic locking fails

Query.getResultList() - JPA Method

the persistence context has not been joined to the transaction PessimisticLockException

TypedQuery.getSingleResult() - JPA Method

been joined to the transaction PessimisticLockException - if pessimistic locking fails

TypedQuery.getResultList() - JPA Method

the persistence context has not been joined to the transaction PessimisticLockException

TypedQuery.getResultStream() - JPA Method

the persistence context has not been joined to the transaction PessimisticLockException - if pessimistic

javax.persistence.StoredProcedureQuery

has not been joined to the transaction PessimisticLockException - if pessimistic locking fails