Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
You can create a database mapping using TopLink Workbench or Java code. Oracle recommends using TopLink Workbench to create and manage your mappings.
For more information on creating mappings in Java, see Oracle TopLink API Reference
For complete information on the various types of mapping that TopLink supports, see "Mapping Types".
During development, you can create mappings individually (see "Creating Mappings Manually During Development") or you can allow TopLink Workbench to automatically map all attributes (see "Creating Mappings Automatically During Development").
For EJB 2.0 CMP projects using OC4J, you can also configure TopLink to create mappings automatically at deployment time (see "Creating Mappings Automatically During Deployment").
After you create a mapping, you must configure its various options (see Chapter 35, "Configuring a Mapping").