ObjectDB ObjectDB

OptimisticLockException(entity) - JPA OptimisticLockException's constructor

Constructor
javax.persistence.OptimisticLockException
OptimisticLockException(
  Object entity
)

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