JPA Annotation Attribute
in javax.persistence.PrimaryKeyJoinColumn

ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT)


(Optional) Used to specify or control the generation of a foreign key constraint for the primary key join column when table generation is in effect. If this element is not specified, the persistence provider's default foreign key strategy will apply.
Since:
JPA 2.1