Jakarta Persistence (JPA) Constructor
OptimisticLockException(
String message,
Throwable cause,
Object entity
)
Constructs a new
OptimisticLockException exception with the specified detail message, cause, and entity. - Parameters:
cause- the cause.message- the detail message.entity- the entity.
- Since:
- Jakarta Persistence (JPA) 1.0