Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.1.0) Part Number B28221-02 |
|
|
View PDF |
The EJB 2.1 specification does not prescribe how the abstract persistence schema of an entity bean should be mapped to a relational (or other) schema of a persistent store, or define how such a mapping is described.
However, using OC4J and the TopLink persistence API, you can do the following:
Specify the table and column names of the database table associated with an entity bean with container-managed persistence.
Specify how container-managed persistent fields and container-managed relationship fields should be mapped to your relational schema.
Automatically create (and, optionally, delete) database tables for your persistent objects.
For more information, see the following:
"Understanding Relational Mappings" in the Oracle TopLink Developer's Guide
"Configuring Associated Tables" in the Oracle TopLink Developer's Guide
Note:
In this release,orion-ejb-jar.xml
file <entity-deployment>
subelement <cmp-field-mapping>
is not used. For more information, see "<entity-deployment>".