Sun GlassFish Enterprise Server 2.1 Application Deployment 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–103 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.