Community
Participate
Working Groups
The summary and URL say it all.
As promised in the mailing list posting, here is a pointer to where someone would get started adding this code: Look in the org.eclipse.persistence.jpa component. The method org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.preProcess() enables this functionality for Entities. You can see a call to discoverMappedSuperclassesAndInheritanceParents() that does the initial discovery. Additionally, some of the calls below that call make use of that functionality. To enable this for Embeddables, similar code would have to be enabled in org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EmbeddableAccessor.preProcess() There is likely a bit of refactoring that has to occur to make this occur easily, but I would estimate this to be a medium-difficulty fix.
Setting initial target and priority. Information about what that means can be found here: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
This bug fix did not make the cut off for 2.0.0. We are deferring the bugs to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Changing the priority of the bugs that have been recently triaged to future. Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
Created attachment 179028 [details] Proposed changes Adds support for embeddable's to extend mapped superclasses. Those items from mapped superclasses supported for embeddables are: - metadata-complete - exclude-default-mappings - converters - attribute-overrides - association-overrides - change-tracking - customizer - copy policies - properties All other metadata (id-class, primary-key etc, listeners etc. ) from an embeddable's mapped superclass are silently ignored. And now supported on embeddable's: - attribute-overrides - association-overrides - parent-class (for Virtual classes)
Bug 283028 - Add support for letting an @Embeddable extend a @MappedSuperclass Reviewed by: Tom Ware, Michael O'Brien (ongoing) Modified existing inherited model and InheritedModelJunitTest
Just to be 100% accurate, I forgot to add 'attributes' to the supported list of metadata from mapped superclasses.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink