Specifies beans mapped to a particular database schema.
A bean cannot be related to a bean that maps to a different database schema, even if the beans are deployed in the same EJB JAR file.
sun-cmp-mappings (sun-cmp-mappings.xml)
The following table describes subelements for the sun-cmp-mapping element.
Table A–116 sun-cmp-mapping Subelements
Element |
Required |
Description |
---|---|---|
only one |
Specifies the file that contains a description of the database schema. |
|
one or more |
Specifies the mapping of a bean to database columns. |