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

EclipseLink/Development/JPA2.0/association-override-join-table

< EclipseLink‎ | Development
Revision as of 09:19, 2 June 2009 by Guy.pelletier.oracle.com (Talk | contribs) (Annotation - Embeddable override)

Association Override Join Table support

JPA 2.0 Root | Enhancement Request

Issue Summary

JPA 2.0 specification introduced support for relational mappings such as 1-M, M-M etc on embeddable class. With that comes the option to specify an association override to apply to those mappings within the embeddable, namely those mappings that use a join table. Note an association override can also be specified at the entity level and applied to a mapping from a mapper superclass. This is existing functionality, however with the introduction of the join table element within the association override in JPA 2.0, this support needs to be implemented.

Association overrides are described in detail in section 11.1.2 of the specification.

General Solution

Examples

Annotation - Mapped superclass override


XML - Mapped superclass override


Annotation - Embeddable override


XML - Embeddable override

Work Required

  1. Develop model for testing
    approx 5 day
  2. Update Processing
    approx 10 days

Back to the top