ObjectDB ObjectDB

DatastoreIdentity.customStrategy - JDO annotation element

Annotation Element
javax.jdo.annotations.DatastoreIdentity
String customStrategy

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