Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Configuring a Relational Aggregate Collection Mapping (ELUG)"

m
m
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
  
 
This table lists the configurable options for a relational aggregate collection mapping.
 
This table lists the configurable options for a relational aggregate collection mapping.
 +
  
 
<span id="Table 40-1"></span>
 
<span id="Table 40-1"></span>
Line 107: Line 108:
 
* [[Introduction%20to%20Relational%20Mappings%20(ELUG)#Aggregate Collection Mapping|Aggregate Collection Mapping]]
 
* [[Introduction%20to%20Relational%20Mappings%20(ELUG)#Aggregate Collection Mapping|Aggregate Collection Mapping]]
 
* [[Configuring%20a%20Relational%20Mapping%20(ELUG)|Configuring a Relational Mapping]]
 
* [[Configuring%20a%20Relational%20Mapping%20(ELUG)|Configuring a Relational Mapping]]
* [[Creating%20and%20Configuring%20Mappings%20(ELUG)|Creating and Configuring Mappings]]
+
* [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]].
 +
 
  
 
----
 
----
Line 114: Line 116:
  
 
[[Category: EclipseLink User's Guide]]
 
[[Category: EclipseLink User's Guide]]
[[Category: Draft]]
+
[[Category: Release 1]]
 
[[Category: Task]]
 
[[Category: Task]]
 
[[Category: ORM]]
 
[[Category: ORM]]

Latest revision as of 07:35, 20 August 2008

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

Database field

Unsupported

Supported

Reference descriptor

Unsupported

Supported

Container policy

Unsupported

Supported

Method or direct field access

Unsupported

Supported

Read-only mapping

Unsupported

Supported

Batch reading

Unsupported

Supported

Bidirectional relationship

Unsupported

Supported

Query key order

Unsupported

Supported

Configuring Configuring Table and Field References

Unsupported

Supported


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:



Copyright Statement

Back to the top