getEntity() - JPA OptimisticLockException's method
Method javax.persistence.OptimisticLockException
Object getEntity()
Returns the entity that caused this exception.
- Returns:
- the entity.
- Since:
- JPA 1.0