Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: sun-application-client
- Next: sun-cmp-mappings

## sun-cmp-mapping

Specifies beans mapped to a particular database schema.

Note –

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.

### Superelements

sun-cmp-mappings (`sun-cmp-mappings.xml`)

### Subelements

The following table describes subelements for the `sun-cmp-mapping` element.

Table A–113 `sun-cmp-mapping` Subelements

Element | Required | Description
--- | --- | ---
schema | only one | Specifies the file that contains a description of the database schema.
entity-mapping | one or more | Specifies the mapping of a bean to database columns.

- Previous: sun-application-client
- Next: sun-cmp-mappings

- © 2010, Oracle Corporation and/or its affiliates