Creating Direct Collection Mappings

Use this procedure to create a direct collection mapping.

To create a direct collection mapping:

  1. Select the attribute to be mapped from the Application Navigator.
  2. Click the Direct Collection Mapping button Direct Collection Mapping button. on the mapping toolbar.

    Figure 7-11 Direct Collection Mapping General Properties

    This figure shows the <b>General </b>tab for a direct collection mapping.

  3. Use the Target Table and Direct Field drop-down lists to specify the appropriate information.
  4. Enter any other required information on the General tab (see "Working with Common Mapping Properties" ).
  5. Click the Collection Options tab to specify collection information for this mapping. See "Specifying Collection Properties" for more information.
  6. Click the Table Reference tab to specify foreign key information for this mapping.

    Figure 7-12 Direct Collection Mapping Table Reference Properties

    This figure shows the <b>Table Reference </b>tab for a direct collection mapping.

  7. Choose the appropriate reference that relates the target table to the tables associated with the source descriptor.

 

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