JDO Annotation

Sequence

Target: ElementType.TYPE
Implemented Interfaces:
Annotation

Annotation for a datastore sequence. Maps across to the JDO2 element "sequence".
Since:
JDO 2.1

Public Annotation Attributes

String datastoreSequence default ""
Name of the sequence in the datastore.
Since:
JDO 2.1
Extension[] extensions default {}
Vendor extensions for this sequence.
Since:
JDO 2.1
Class factoryClass default void.class
Name of a factory class for generating the sequence values.
Since:
JDO 2.1
String name default null
The symbolic name of the datastore sequence.
Since:
JDO 2.1
Strategy for the sequence.
Since:
JDO 2.1