Jakarta Persistence (JPA) Method
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.- Since:
- Jakarta Persistence (JPA) 1.0