JPA Constructor
in jakarta.persistence.OptimisticLockException

OptimisticLockException(
  Object entity
)


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