ObjectDB ObjectDB

javax.jdo.annotations.Sequence - JDO annotation

javax.jdo.annotations
Annotation Sequence

Target:
Classes
Annotation for a datastore sequence. Maps across to the JDO2 element "sequence".
Since:
JDO 2.1
Name of the sequence in the datastore.
Name of the sequence in the datastore.
Returns:
the name of the datastore sequence
Default value:
""
Since:
JDO 2.1
Vendor extensions for this sequence.
Vendor extensions for this sequence.
Returns:
vendor extensions
Default value:
{}
Since:
JDO 2.1
Class factoryClass
Name of a factory class for generating the sequence values.
Name of a factory class for generating the sequence values.
Returns:
the name of the factory class for the sequence
Default value:
void.class
Since:
JDO 2.1
String name
The symbolic name of the datastore sequence.
The symbolic name of the datastore sequence.
Returns:
the name of the sequence
Since:
JDO 2.1
Strategy for the sequence.
Strategy for the sequence.
Returns:
the strategy for the sequence
Since:
JDO 2.1