|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface OptimisticLocking
The OptimisticLocking annotation is used to specify the type of optimistic locking TopLink should use when updating or deleting entities. An optimistic-locking specification is supported on an Entity or MappedSuperclass annotation.
org.eclipse.persistence.annotations.OptimisticLockingType.| Optional Element Summary | |
|---|---|
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
public abstract boolean cascade
|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||