hibernate-core 3.6.10.Final
org.hibernate.annotations
OptimisticLock
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 Type
Method and Description
public
boolean
excluded
()
If true, the annotated property change will not trigger a version upgrade
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
excluded
back to summary
public
boolean
excluded
()
If true, the annotated property change will not trigger a version upgrade