8.12.25 @JoinColumns
- Organization of this subsection
(1) Description
This annotation is specified when multiple @JoinColumn 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 name |
Optional/Required |
Element description |
---|---|---|
Required |
This 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