Skip to main content

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.

Jump to: navigation, search

Configuring a Relational Transformation Mapping (ELUG)

For information on how to create EclipseLink mappings, see Creating a Mapping.

This table lists the configurable options for a relational transformation mapping.

Option Workbench Java

Attribute transformer

Supported

Supported

Field transformer associations

Supported

Supported

Indirection (lazy loading)

Supported

Supported

Configuring a Type Conversion Converter

Supported

Supported

Mapping comments

Supported

Supported

Method or direct field access

Supported

Supported

Read-only mapping

Supported

Supported


This example shows how to create a transformation mapping and add it to a descriptor using Java code.

Transformation Mapping

public void customize(ClassDescriptor descriptor) { 
    TransformationMapping mapping = new TransformationMapping();  

    // configure mapping
    ... 

    // add mapping to descriptor
    descriptor.addMapping(mapping);
}

For more information, see the following:




Copyright Statement

Back to the top