Jump to: navigation, search


How To Migrate from OpenJPA to EclipseLink JPA

Migrating from OpenJPA to EclipseLink JPA involves a number of standrd JPA migration steps plus modification of code to handle extended functionality.

  1. Persistence.XML
  2. Query Hints
  3. Extended Functionality

Extended Functionality

OpenJPA does offer some features that go beyond the JPA specification the following sections describe these features and how you migrate to the corresponding functionality in EclipseLink.

  • BigCollection
  • FetchPlan/Group
  • Inheritance Casting
  • Native SQL with POJO results
  • Detached (Serialized) entities & relationships