Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313631

Summary: SDO de-serialization fails when an attachment marshaller is set.
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Blaise Doughan <blaise.doughan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.sdo-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
SDO - Test Cases
none
SDO - Fix none

Description Blaise Doughan CLA 2010-05-19 17:29:52 EDT
The SDO serialization algoritm uses XMLHelper to save the DataObject as XML.  If an XMLAttachmentMarshaller is set then XML message will contain hooks for the binary attachments.  Then de-serialzation fails as there is no corresponding XMLAttachmentUnmarshaller.

For the purposes of RMI serialzation the DataObject should not use attachments.
Comment 1 Blaise Doughan CLA 2010-05-19 17:41:03 EDT
Created attachment 169231 [details]
SDO - Test Cases
Comment 2 Blaise Doughan CLA 2010-05-19 17:41:42 EDT
Created attachment 169232 [details]
SDO - Fix
Comment 3 Blaise Doughan CLA 2010-05-19 19:00:01 EDT
Fix checked into 1.2.1 at rev: 7285
Fix checked into 2.0.3 at rev: 7284
Fix checked into trunk at rev: 7283

For serialization force XMLHelper not to use XMLAttachmentMarshaller
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:03:46 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:10:58 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink