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

Bug 369298

Summary: OXM Platforms not converted correctly from TopLink to EclipseLink
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Core - Fix
none
Core - Fix
none
MOXy - Test Cases
none
Core - Fix none

Description Blaise Doughan CLA 2012-01-20 16:43:39 EST
In ObjectPersistenceRuntimeXMLProject there is an instance of Converter responsible for converting TopLink datasource platform classes to EclipseLink ones.  It does this by replacing "oracle.toplink" with "org.eclipse.persistence".  This will cause a problem with MOXy classes as TopLink has an "ox" package while EclipseLink has an "oxm" package.
Comment 1 Blaise Doughan CLA 2012-01-20 16:44:53 EST
Created attachment 209862 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2012-01-23 10:28:49 EST
Created attachment 209920 [details]
Core - Fix
Comment 3 Blaise Doughan CLA 2012-01-23 11:10:54 EST
Created attachment 209922 [details]
MOXy - Test Cases
Comment 4 Blaise Doughan CLA 2012-01-23 11:32:12 EST
Created attachment 209924 [details]
Core - Fix
Comment 5 Blaise Doughan CLA 2012-01-23 12:07:55 EST
Fix checked into 2.3.3 at rev:  10725
Fix checked into trunk at rev:  10726

Code reviewed by:  Denise Smith

Fix Details:
Previously when the TopLink deployment and sessions.xml were being converted to
EclipseLink equivalents the "oracle.toplink" string was being replaced by
"org.eclipse.persistence".  This did not take into account the ox/oxm package
difference between TopLink and EclipseLink.  This fix takes that difference
into account.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:25:17 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink