ObjectDB ObjectDB

Key.foreignKey - JDO annotation element

Annotation Element
javax.jdo.annotations.Key
String foreignKey

Name for a generated foreign key constraint.
Returns:
the name of the generated foreign key constraint
Default value:
""
Since:
JDO 2.1