EclipseLink/Examples/JPA/Migration/OpenJPA

From Eclipsepedia

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. EclipseLink/Examples/JPA/Migration/OpenJPA/PU_Properties
  2. Query Hints
  3. Extended Functionality

Extended Functionality

The following items need to be added

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