Automapping Descriptors

Use the Automap Wizard to automatically map class attributes to a similarly named database field. The Automap function only creates mappings for unmapped attributes - it does not change previously defined mappings.

You can automap classes for an entire project or for specific tables.

To Automap Attributes:

  1. To automap all descriptors in a project, right-click TopLink Mappings in the Structure window and choose Automap from the pop-up menu or click the Automap button Automap button. in the Structure toolbar. The Automap Wizard Welcome Screen appears.
    or
    To automap a specific descriptor or class choose the descriptor/class. Right-click and select Automap from the pop-up menu.
  2. Complete each page in the wizard.

The wizard will prompt you to associate the descriptor with a table, select mappings for each attribute, and define specific database fields and reference tables for each mapping.


Related Topics

About TopLink Descriptors

Mapping Descriptors
Automap Wizard

 

Copyright © 1997, 2004, Oracle. All rights reserved.