Configuring a Descriptor as Class or Aggregate

Specify each of the aggregate descriptor's attributes as a direct to field mapping. See Configuring a Relational Direct-to-Field Mapping for more information.

Although the attributes of a target class are not mapped directly to a data source until you configure an aggregate object mapping, you must still specify their mapping type in the target class's descriptor. This tells TopLink what type of mapping to use when you do configure the aggregate mapping in the source object's descriptor. For more information, see "Aggregate and Composite Descriptors in Relational Projects".

See Also

  Configuring a Relational Descriptor as a Class or Aggregate Type
  Descriptors and Aggregation