Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367952 - XMLObjectBuilder addXsiTypeAndClassIndicatorIfRequired method optimize the not required case
Summary: XMLObjectBuilder addXsiTypeAndClassIndicatorIfRequired method optimize the no...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 10:01 EST by Denise Smith CLA
Modified: 2022-06-09 10:27 EDT (History)
0 users

See Also:


Attachments
2.3 proposed patch (4.43 KB, patch)
2012-01-05 10:13 EST, Denise Smith CLA
no flags Details | Diff
2.3 Proposed patch (4.76 KB, patch)
2012-01-10 15:53 EST, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denise Smith CLA 2012-01-05 10:01:24 EST
The addXsiTypeAndClassIndicatorIfRequired methods get called for every root and composite mapping (and for each item in a composite collection mapping) so should be optimized if possible.
Comment 1 Denise Smith CLA 2012-01-05 10:13:07 EST
Created attachment 209075 [details]
2.3 proposed patch
Comment 2 Denise Smith CLA 2012-01-10 15:53:59 EST
Created attachment 209283 [details]
2.3 Proposed patch
Comment 3 Denise Smith CLA 2012-01-11 10:35:23 EST
Checked in fix to 2.3 and trunk.  Now checking for the presence of an xsi:type indicator field once per objectbuilder (only if it has inheritance) instead of on each item we marshal.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:57 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink