Jakarta Persistence (JPA) Constructor

OptimisticLockException(
  Object entity
)


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