Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Migration from Toplink to Eclipselink
Migration from Toplink to Eclipselink [message #1811071] Mon, 26 August 2019 13:34 Go to next message
Alexander Alexeev is currently offline Alexander AlexeevFriend
Messages: 1
Registered: August 2019
Junior Member
In the following document
https://www.eclipse.org/eclipselink/documentation/2.5/solutions/migrnativetoplink001.htm
in the section Task 4: Convert XML Configuration Files
in subsection Deployment XML
it is written that
Quote:
Deployment XML files from TopLink 10.1.3 and above can be read by TopLink 11.1.1 and later. You can continue to use those files or for a more forward compatible solution, run the renamer on these files and replace the version string in the "XML Header" with the following:
"Eclipse Persistence Services"

Unmodified header looks line <?xml version='1.0' encoding = 'UTF-8'?>
How should modified header look like? version parameter does not expect anything but 1.0
Re: Migration from Toplink to Eclipselink [message #1811164 is a reply to message #1811071] Wed, 28 August 2019 03:49 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1330
Registered: July 2009
Senior Member
What file are you looking at? The quote you reference in that context (sessions.xml, persistence.xml) I believe is referring to is the project.xml file which would have been generated from the Mapping workbench project. Within it, I believe it would be referring to a line:

<object-persistence version="Eclipse Persistence Services"..
which defines the XSD etc

This is project generation is referenced here https://docs.oracle.com/cd/E12839_01/web.1111/b32441/depcr.htm#JITDG91779 and here https://docs.oracle.com/cd/E12839_01/web.1111/b32441/projcrea.htm#JITDG00060
Previous Topic:Table per tenant not working
Next Topic:Insert using identity column and trigger returns wrong primary key
Goto Forum:
  


Current Time: Wed Oct 16 00:10:35 GMT 2019

Powered by FUDForum. Page generated in 0.02600 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top