Annotation Type OptimisticLock


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface OptimisticLock
Whether or not update entity's version on property's change If the annotation is not present, the property is involved in the optimistic lock srategy (default)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    boolean
    If true, the annotated property change will not trigger a version upgrade
  • Element Details

    • excluded

      boolean excluded
      If true, the annotated property change will not trigger a version upgrade