ObjectDB ObjectDB

JoinTable.joinColumns - JPA annotation element

Annotation Element
javax.persistence.JoinTable
JoinColumn[] joinColumns

(Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association. (I.e. the owning side of the association).

Uses the same defaults as for JoinColumn.

Default value:
{}
Since:
JPA 1.0