ObjectDB ObjectDB

getEntity() - JPA PessimisticLockException's method

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