Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Configuring a Relational Aggregate Collection Mapping (ELUG)
For information on how to create EclipseLink mappings, see Creating a Mapping.
Note: To use a relational aggregate collection mapping with Workbench, you must use an amendment method. |
This table lists the configurable options for a relational aggregate collection mapping.
Option | Workbench | Java |
---|---|---|
This example shows how to create a aggregate collection mapping and add it to a descriptor using Java code.
Aggregate Collection Mapping
public void customize(ClassDescriptor descriptor) { AggregateCollectionMapping mapping = new AggregateCollectionMapping(); // configure mapping ... // add mapping to descriptor descriptor.addMapping(mapping); }
For more information, see the following: