|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Version
Identifies a field or method as a version attribute. A version attribute is used with optimistic locking to allow fast and efficient concurrency control.
The state of the version field may be accessed by the entity, but never modified. The version value is modified by the underlying TupleStore.
Valid attribute types include: int, Integer, short, Short, long, Long and Timestamp.
Only one version attribute is allowed per entity definition.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |