Sun Java System Application Server Enterprise Edition 8.2 Developer's Guide

secondary-table

Specifies a bean’s secondary table(s).

Superelements

entity-mapping (sun-cmp-mappings.xml)

Subelements

The following table describes subelements for the secondary-table element.

Table A–99 secondary table Subelements

Element  

Required  

Description  

table-name

only one 

Specifies the name of a database table. 

column-pair

one or more 

Specifies the pair of columns that determine the relationship between two database tables.