/copy.svg" alt="Copy snippet"></button>
<pre class="snippet"><code>@JoinTable(
    name = "CUST_PHONE",
    joinColumns = @JoinColumn(name = "CUST_ID", referencedColumnName = "ID"),
    inverseJoinColumns = @JoinColumn(name = "PHONE_ID", referencedColumnName = "ID"))
</code></pre>
</div>


 <p>This annotation may not be applied to a persistent field or property
 not annotated <a href="ManyToOne.html" title="annotation interface in jakarta.persistence"><code>ManyToOne</code></a>, <a href="OneToOne.html" titl