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