2.7.25 @JoinColumns

Organization of this subsection
(1) Description
(2) Element

(1) Description

This annotation is specified when multiple @JoinColumns that indicate the same relationship are coded concurrently. @JoinColumns defines the mapping of the compound external key.

The applicable targets are method and field.

(2) Element

The following table lists the elements of @JoinColumns:

Element nameOptional/RequiredElement description
valueRequiredThis element specifies an array of @JoinColumn.

The details of attributes that are supported with Cosminexus JPA provider are as follows:

(a) value element
Type
JoinColumn[]
Description
This element specifies an array of @JoinColumn.
The values can be specified within the specifiable range of the arrays of @JoinColumn.
Default value
None