Configuring a Relational Direct-to-Field Mapping (ELUG)
For information on how to create EclipseLink mappings, see Creating a Mapping.
This table lists the configurable options for a relational direct-to-field mapping.
Option to Configure | Workbench | Java |
---|---|---|
This example shows how to create a direct-to-field mapping and add it to a descriptor using Java code.
Direct-to-Field Mapping
public void customize(ClassDescriptor descriptor) { DirectToFieldMapping mapping = new DirectToFieldMapping(); // configure mapping ... // add mapping to descriptor descriptor.addMapping(mapping); }
For more information, see the following: