Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring Aggregate Fields

When you designate a descriptor as an aggregate, TopLink allows you to specify a mapping type for each field in the target class, but defers associating the field with a database table until you configure the aggregate object mapping in the source class descriptor. In other words, the target class descriptor defines how each target class field is mapped but the source class descriptor defines where each target class field is mapped.

This section explains how to configure the source class descriptor to define where each target class field is mapped.

For more information on how to configure the target class descriptor to define how each target class field is mapped, see "Configuring a Relational Descriptor as a Class or Aggregate Type".

Using TopLink Workbench

To specify the mapped fields of an aggregate mapping, use this procedure.

Use the following information to complete each field on the tab:

Field Description
Field Description This column shows the name of the fields from the target object, whose descriptor is designated as an aggregate (see "Configuring a Relational Descriptor as a Class or Aggregate Type"). These are for display only and cannot be changed.
Fields Use this column to select the source object database table field that TopLink will map to the corresponding target object field.