Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Configuring a Relational Aggregate Collection Mapping (ELUG)"
m |
m |
||
Line 3: | Line 3: | ||
For information on how to create EclipseLink mappings, see [[Creating%20a%20Mapping%20(ELUG)|Creating a Mapping]]. | For information on how to create EclipseLink mappings, see [[Creating%20a%20Mapping%20(ELUG)|Creating a Mapping]]. | ||
+ | |||
{| class="Note oac_no_warn" width="80%" border="1" frame="hsides" rules="groups" cellpadding="3" frame="hsides" rules="groups" | {| class="Note oac_no_warn" width="80%" border="1" frame="hsides" rules="groups" cellpadding="3" frame="hsides" rules="groups" | ||
Line 8: | Line 9: | ||
'''Note'''<nowiki>:</nowiki> To use a relational aggregate collection mapping with Workbench, you must use [[Configuring%20a%20Descriptor%20(ELUG)#Configuring Amendment Methods|an amendment method]]. | '''Note'''<nowiki>:</nowiki> To use a relational aggregate collection mapping with Workbench, you must use [[Configuring%20a%20Descriptor%20(ELUG)#Configuring Amendment Methods|an amendment method]]. | ||
|} | |} | ||
+ | |||
This table lists the configurable options for a relational aggregate collection mapping. | This table lists the configurable options for a relational aggregate collection mapping. |
Revision as of 12:41, 19 December 2007
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: