Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/JPA/Migration/OracleTopLinkNative

Under Construction

Migrating from Oracle TopLink to EclipseLink

This article will give an overview of how to migrate an Oracle TopLink project to EclipseLink

Deprecated Oracle TopLink API

API that has been deprecated in Oracle TopLink will be removed from EclispeLink. If your code makes use of any deprecated TopLink API, you will have to update it to use the API recommended in the deprecation comment.

Rename Packages

The base package has been renamed from "oracle.toplink" to "org.eclipse.persistence". Some lower level packages have also been refactored. To cope with this issue and package rename tool is included in the intstall. This package renamed replaces package and class references with the updated ones. You should run the tool on your source code, project xml, persistence.xml and sessions.xml

Running the Package Renamer

Dealing with XML Configuration files

Sessions XML

Deployment XML

Persistence XML

ORM XML

Back to the top