delete(entity)
or deleteAll(entities)
where the entity Id no longer exists in the database or the entity is versioned and the
version no longer matches the version in the database.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | OptimisticLockingFailureException(String
the detail message. message)Constructs a new OptimisticLockingFailureException exception with the specified detail message. |
| public | OptimisticLockingFailureException(String
the detail message. message, Throwable another exception or error that caused this exception.
Null indicates that no other cause is specified. cause)Constructs a new OptimisticLockingFailureException exception with the specified detail message. |
| public | OptimisticLockingFailureException(Throwable
the cause. cause)Constructs a new OptimisticLockingFailureException exception with the specified cause. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides jakarta. | |
| OptimisticLockingFailureException | back to summary |
|---|---|
| public OptimisticLockingFailureException(String message) Constructs a new OptimisticLockingFailureException exception with the specified detail message.
| |
| OptimisticLockingFailureException | back to summary |
|---|---|
| public OptimisticLockingFailureException(String message, Throwable cause) Constructs a new OptimisticLockingFailureException exception with the specified detail message. | |
| OptimisticLockingFailureException | back to summary |
|---|---|
| public OptimisticLockingFailureException(Throwable cause) Constructs a new OptimisticLockingFailureException exception with the specified cause.
| |