ObjectDB ObjectDB

Element.generateForeignKey - JDO annotation element

Annotation Element
javax.jdo.annotations.Element
String generateForeignKey

Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify "true" or "false".
Returns:
whether to generate or assume a primary key constraint
Default value:
""
Since:
JDO 2.1