JDO Annotation

Version

Target: ElementType.TYPE
Implemented Interfaces:
Annotation

Annotation for the versioning of the class. Corresponds to the xml element "version" of the "class" and "property" elements.
Since:
JDO 2.1

Public Annotation Attributes

String column default ""
Name of the column for the version.
Since:
JDO 2.1
Column[] columns default {}
The column(s) making up the version.
Since:
JDO 2.1
String customStrategy default ""
Custom strategy for versioning of objects of this class.
If customStrategy is non-empty, strategy must be UNSPECIFIED.
Since:
JDO 2.1
Extension[] extensions default {}
Vendor extensions.
Since:
JDO 2.1
String indexed default ""
Whether the version column(s) is(are) indexed.
Since:
JDO 2.1
VersionStrategy strategy default VersionStrategy.UNSPECIFIED
Strategy for versioning of objects of this class.
Since:
JDO 2.1