Fast Object Database for Java - with JPA/JDO support

Key.generateForeignKey - JDO annotation element

Annotation Element
javax.jdo.annotations.Key
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 foreign key constraint
Default value:
""
Since:
JDO 2.1