|
|
Re: Toplink 9 to EclipseLink migration issue [message #1227111 is a reply to message #1225634] |
Fri, 03 January 2014 15:21 |
Subhadip Chatterjee Messages: 12 Registered: December 2013 |
Junior Member |
|
|
I am adding more details, for better understanding the issue.
----
This issue is about a web application migrating from TopLink 9i to TpoLink 12c persistence framework. In the mapping-xml of the Oracle TopLink 9i project, there are snippets, as follows -
<database-query>
...
<main-expression>
...
<expression-class>
oracle.toplink.tools.workbench.expressions.QueryableArgumentRepresentation
</expression-class>
...</main-expression>
Similarly, there are 4 other <expression-class> used, in it.
1. ParameterArgumentRepresentation
2. UnaryExpressionRepresentation
3. BinaryExpressionRepresentation
4. CompoundExpressionRepresentation
----
I have followed the steps from Oracle fusion documentation:
1. docs.oracle.com/middleware/1212/toplink/TLADG/migrnativetoplink.htm#BCGHJGHF
2. docs.oracle.com/middleware/1212/toplink/TLADG/websphere.htm
I have handled the import statements, few API replacements w.r.t the EclipseLink binary. Now there are descriptor mappings and query-manager sections, which I am working through. I ran the package-rename tool on these XML files, but nothing has changed [XML file lacks the DTD/schema reference].
So, I continued changing these manually. That's where I left out with the above classes.
----
I have also tried using TopLink utilities, namely package-rename & Workbench. Now, w.r.t. the package-rename utility, I don't get any log file. Only from command console, I get to see the count of changed files, as 0. The workbench tool, doesn't run, even if I have updated the Java_Home & Oracle_Driver classpath entries, according to my system-local path.
I am using IBM RSA v9.0 with JDK 1.6 and WebSphere Server 8.5 runtime.
Here I tried installing OEPE, but the IDE didn't allow me. Do you suggest me to install JDeveloper and try migrating the code?
The project I am working with, is an old application, written about 7-8 years back. So, apart from the Java code, I find toplink references in mappings.xml & session.xml. Currently I am stuck with mappings-xml. It doesn't follow any schema/DTD, just having the toplink xml notations [tags]
I appreciate any help, please care to pitch in.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02989 seconds