Jakarta Persistence (JPA) Constructor

PessimisticLockException(
  Object entity
)


Constructs a new PessimisticLockException exception with the specified entity.
Parameters:
entity - the entity.
Since:
Jakarta Persistence (JPA) 1.0