ObjectDB ObjectDB

javax.jdo.annotations.DatastoreIdentity - JDO annotation

javax.jdo.annotations
Annotation DatastoreIdentity

Target:
Classes
Annotation for the datastore identity of the class. Corresponds to the xml element "datastore-identity" of the "class" element.
Since:
JDO 2.1
String column
Name of the column for the datastore identity
Name of the column for the datastore identity
Returns:
Name of the column for the datastore identity
Default value:
""
Since:
JDO 2.1
The column(s) making up the datastore identity.
The column(s) making up the datastore identity.
Returns:
The column(s) making up the datastore identity.
Default value:
{}
Since:
JDO 2.1
Custom strategy to use to generate the value for the identity.
Custom strategy to use to generate the value for the identity. If customStrategy is non-empty, then strategy must be UNSPECIFIED.
Returns:
the custom strategy
Default value:
""
Since:
JDO 2.1
Vendor extensions.
Vendor extensions.
Returns:
the vendor extensions
Default value:
{}
Since:
JDO 2.1
String sequence
Name of sequence to use when the strategy involves sequences
Name of sequence to use when the strategy involves sequences
Returns:
Name of sequence to use when the strategy involves sequences
Default value:
""
Since:
JDO 2.1
Strategy to use when generating datastore identities
Strategy to use when generating datastore identities
Returns:
Strategy to use when generating datastore identities
Default value:
javax.jdo.annotations.IdGeneratorStrategy.UNSPECIFIED
Since:
JDO 2.1