ObjectDB ObjectDB

Element.unique - JDO annotation element

Annotation Element
javax.jdo.annotations.Element
String unique

Whether a unique constraint should be generated or assumed.
Returns:
whether a unique constraint should be generated or assumed
Default value:
""
Since:
JDO 2.1