Specifies the pair of columns that determine the relationship between two database tables. Each column-pair must contain exactly two column-name subelements, which specify the column’s names. The first column-name element names the table that this bean is mapped to, and the second column-name names the column in the related table.
cmr-field-mapping, secondary-table (sun-cmp-mappings.xml)
The following table describes subelements for the column-pair element.
Table A–31 column-pair Subelements
Element |
Required |
Description |
---|---|---|
two |
Specifies the name of a column from the primary table, or the qualified table name (TABLE.COLUMN) of a column from a secondary or related table. |