Module jakarta.data

Class OptimisticLockingFailureException

java.lang.Object
All Implemented Interfaces:
Serializable

public class OptimisticLockingFailureException extends DataException
Indicates a failure that is due to inconsistent state between the entity and the database. For example, 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.
See Also: