Home » JDO » Annotations » Field Modifiers » Persistent » Persistent.valueStrategy - JDO annotation element

Persistent.valueStrategy - JDO annotation element

Annotation Element
javax.jdo.annotations.Persistent
IdGeneratorStrategy valueStrategy

Value strategy to use to generate the value for this field or property (if any).
Returns:
the generated value strategy
Default value:
javax.jdo.annotations.IdGeneratorStrategy.UNSPECIFIED
Since:
JDO 2.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.