Top Description Methods
org.hibernate.annotations

public @Interface OptimisticLock

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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

Method Summary

Modifier and TypeMethod and Description
public boolean
excluded()

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

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

excludedback to summary
public boolean excluded()

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