Element.generateForeignKey - JDO annotation element

Annotation Element
String generateForeignKey

Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify "true" or "false".
whether to generate or assume a primary key constraint
Default value:
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.