ObjectDB ObjectDB

getEntity() - JPA OptimisticLockException's method

Returns the entity that caused this exception.
Returns:
the entity.
Since:
JPA 1.0