My application is using Spring 2.5, and native TopLink 10g. I want to migrate my application from native TopLink to EclipseLink.
Currently each DAO in my application extends TopLinkDaoSupport.java
(in Spring 2.5), in order to use the #getSession()
method for all DB operations, but the return type of the method is oracle.toplink.sessions.Session
instead of org.eclipse.persistence.sessions
.
Is there any solution of said problem?