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.
The following table lists the elements of @JoinColumns:
Element name | Optional/Required | Element description |
---|---|---|
value | Required | This element specifies an array of @JoinColumn. |
The details of attributes that are supported with Cosminexus JPA provider are as follows: