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 One-to-One Mapping (ELUG)
This section describes the various components that you must configure in order to use a relational one-to-one mapping.
For information on how to configure EclipseLink mappings options common to two or more mapping types, see Configuring a Mapping.
For information on how to create EclipseLink mappings, see Creating a Mapping.
Configurable Options for Relational One-to-One Mapping lists the configurable options for a relational one-to-one mapping.
Introduction to Relational One-to-One Mapping Configuration
This table lists the configurable options for a relational one-to-one mapping.
Configurable Options for Relational One-to-One Mapping
Option to Configure | Workbench | Java |
---|---|---|
Reference descriptor (see Configuring Reference Descriptor) |
||
Method or direct field access (see Configuring a Type Conversion Converter) |
||
Read-only mapping (see Configuring Read-Only Mappings) |
||
Private or Independent relationships (see Configuring Mapping Comments) |
||
Batch reading (see Configuring Batch Reading) |
||
Joining (see Configuring Joining at the Mapping Level) |
||
Indirection (lazy loading) (see Configuring Mapping Comments) |
||
Bidirectional relationship (see Configuring Bidirectional Relationship) |
||
Mapping comments (see Configuring Mapping Comments) |
||
Table and field references (see Configuring Joining at the Mapping Level) |
For more information, see the following:
For information on using JPA to configure one-to-one mappings, see @OneToOne.