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 a change of the annotated property will trigger an entity version increment. If the annotation is not present, the property is involved in the optimistic lock strategy (default).
Author
Logi Ragnarsson

Method Summary

Modifier and TypeMethod and Description
public boolean
excluded()

Whether the annotated property should be included in optimistic locking determinations for the owner.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

excludedback to summary
public boolean excluded()

Whether the annotated property should be included in optimistic locking determinations for the owner.