ObjectDB ObjectDB

AssociationOverride.joinColumns - JPA annotation element

Annotation Element
javax.persistence.AssociationOverride
JoinColumn[] joinColumns

The join column(s) being mapped to the persistent attribute(s). The joinColumns elements must be specified if a foreign key mapping is used in the overriding of the mapping of the relationship. The joinColumns element must not be specified if a join table is used in the overriding of the mapping of the relationship.
Default value:
{}
Since:
JPA 1.0