@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface OptimisticLock
Whether or not a change of the annotated property will trigger a entity version increment.
If the annotation is not present, the property is involved in the optimistic lock strategy (default).