@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface OptimisticLocking
org.eclipse.persistence.annotations.OptimisticLockingType.| Modifier and Type | Optional Element and Description | 
|---|---|
boolean | 
cascade
(Optional) Specify where the optimistic locking policy should cascade lock. 
 | 
javax.persistence.Column[] | 
selectedColumns
(Optional) For an optimistic locking policy of type SELECTED_COLUMNS, this annotation member becomes a (Required) field. 
 | 
OptimisticLockingType | 
type
(Optional) The type of optimistic locking policy to use. 
 | 
public abstract OptimisticLockingType type
public abstract javax.persistence.Column[] selectedColumns
public abstract boolean cascade