Community
Participate
Working Groups
In JPA 1.0 only Basic and Transient mappings were support inside of Embeddables. In JPA 2.0 the supported mapping types are: basic many-to-one one-to-many one-to-one many-to-many element-collection embedded transient We need to relax the validation error that we give when an attribute mapping type is not supported in a particular type.
There is more to this than just changing a validation error. One big change is Embeddables supporting references to other Entities, this means supporting association-overrides on embedded mappings. I will enter another bug for nested Embeddables.
association-overrides now need to support the join-table element
comment # 2 is now bug 281389. I have relaxed the validation error to support the new mapping types. I will include supporting association-overrides on Embedded mappings in this bug and leave it open.
This is completed in the Generic 2.0 model (java and orm) for M2. Association overrides are supported on embedded mappings and association overrides also support join-tables. The additional mapping types are now allowed, no validation error for these cases. In M3 we will add the support to the EclipseLink 2.0 model.
The eclipselink 2.0 support has been added for M3