Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.hibernate.annotations
Annotation Type OptimisticLock

    @Target(value={METHOD,FIELD})
    @Retention(value=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)

Author:
  Logi Ragnarsson

Required Element Summary
`boolean` | `excluded` If true, the annotated property change will not trigger a version upgrade

Element Detail

### excluded

    public abstract boolean excluded

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT