ObjectDB ObjectDB

PessimisticLockException(entity) - JPA PessimisticLockException's constructor

Constructor
javax.persistence.PessimisticLockException
PessimisticLockException(
  Object entity
)

Constructs a new PessimisticLockException exception with the specified entity.
Parameters:
entity - the entity.
Since:
JPA 2.0