Package com.blazebit.persistence.view
Annotation Type OptimisticLock
Annotation to specify whether a change of the annotated attribute will cause optimistic locking.
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether a change of the annotated attribute should cause an optimistic lock.
-
Element Details
-
exclude
boolean excludeWhether a change of the annotated attribute should cause an optimistic lock. Whentrue, a change will NOT cause an optimistic lock.- Returns:
falseif an attribute change should cause optimistic locking,trueotherwise
- Default:
- false
-