Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 257274 Details for
Bug 454898
ClassAccessor method "processDerivedId" breaks for inheritanced referenceAccessor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to solve the problem
Patch Bug 454898 (ClassAccessor).txt (text/plain), 1.58 KB, created by
Tobias Kahl
on 2015-10-15 03:10:41 EDT
(
hide
)
Description:
Patch to solve the problem
Filename:
MIME Type:
Creator:
Tobias Kahl
Created:
2015-10-15 03:10:41 EDT
Size:
1.58 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P Third-Party Eclipselink >Index: src/org/eclipse/persistence/internal/jpa/metadata/accessors/classes/ClassAccessor.java >=================================================================== >RCS file: /cvs/provinzial/Third-Party Eclipselink/src/org/eclipse/persistence/internal/jpa/metadata/accessors/classes/ClassAccessor.java,v >retrieving revision 1.1 >diff -u -r1.1 ClassAccessor.java >--- src/org/eclipse/persistence/internal/jpa/metadata/accessors/classes/ClassAccessor.java 15 Oct 2015 06:46:57 -0000 1.1 >+++ src/org/eclipse/persistence/internal/jpa/metadata/accessors/classes/ClassAccessor.java 15 Oct 2015 06:47:43 -0000 >@@ -1614,6 +1614,16 @@ > referenceAccessor.processDerivedId(processing, processed); > } > >+ // BugFix für Bug 454898 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=454898): >+ MetadataDescriptor lInheritanceRootDescriptor = referenceDescriptor.getInheritanceRootDescriptor(); >+ if(lInheritanceRootDescriptor!=null){ >+ ClassAccessor lInheritanceRootAccessor = lInheritanceRootDescriptor.getClassAccessor(); >+ if (lInheritanceRootAccessor.hasDerivedId()) { >+ lInheritanceRootAccessor.processDerivedId(processing, processed); >+ } >+ } >+ // Ende-Bugfix >+ > // Now process the relationship, and the derived id. > if (! accessor.isProcessed()) { > accessor.process();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 454898
: 257274