Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: sas-context
- Next: schema-generator-properties

## schema

Specifies the file that contains a description of the database schema to which the beans in this `sun-cmp-mappings.xml` file are mapped. If this element is empty, the database schema file is automatically generated at deployment time. Otherwise, the `schema` element names a `.dbschema` file with a pathname relative to the directory containing the `sun-cmp-mappings.xml` file, but without the `.dbschema` extension. See Automatic Database Schema Capture.

### Superelements

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

### Subelements

none - contains data

### Examples

    <schema/> <!-- use automatic schema generation -->

    <schema>CompanySchema</schema> <!-- use "CompanySchema.dbschema" -->

- Previous: sas-context
- Next: schema-generator-properties

- © 2010, Oracle Corporation and/or its affiliates