@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface OptimisticLocking
OptimisticLockingType
Modifier and Type | Optional Element and Description |
---|---|
boolean |
cascade
(Optional) Specify where the optimistic locking policy should cascade
lock.
|
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 Column[] selectedColumns