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
Modifier and TypeOptional ElementDescriptionboolean
Whether 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:
false
if an attribute change should cause optimistic locking,true
otherwise
- Default:
- false
-