Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369298 - OXM Platforms not converted correctly from TopLink to EclipseLink
Summary: OXM Platforms not converted correctly from TopLink to EclipseLink
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: 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-20 16:43 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:25 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (1.55 KB, patch)
2012-01-20 16:44 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (3.22 KB, patch)
2012-01-23 10:28 EST, Blaise Doughan CLA
no flags Details | Diff
MOXy - Test Cases (1.56 KB, patch)
2012-01-23 11:10 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (3.12 KB, patch)
2012-01-23 11:32 EST, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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