</h3>
<div class="member-signature"><span class="return-type"><a href="ForeignKey.html" title="annotation interface in jakarta.persistence">ForeignKey</a></span>&nbsp;<span class="element-name">foreignKey</span></div>
<div class="block">(Optional) Used to specify or control the generation of a
 foreign key constraint for the columns corresponding to the
 <a href="#joinColumns()"><code>joinColumns()</code></a> element when table generation is in
 effect. If both this element and the <code>foreignKey</code>
 