Skip Headers

# Implementing Aggregate Collection Mappings

Previous

Next

To implement an aggregate collection mapping, the following must take place:

- The descriptor of the target class must declare itself to be an aggregate collection object. Unlike the aggregate object mapping, in which the target descriptor does not have a specific table to associate with, there must be a target table for the target object.

- The descriptor of the source class must add an aggregate collection mapping that specifies the target class.