Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/JPA/Migration/OpenJPA"

(How To Migrate from OpenJPA to EclipseLink JPA)
(How To Migrate from OpenJPA to EclipseLink JPA)
Line 3: Line 3:
 
Migrating from OpenJPA to EclipseLink JPA involves a number of standrd JPA migration steps plus modification of code to handle extended functionality.
 
Migrating from OpenJPA to EclipseLink JPA involves a number of standrd JPA migration steps plus modification of code to handle extended functionality.
  
# EclipseLink/Examples/JPA/Migration/OpenJPA/PU_Properties
+
# [[EclipseLink/Examples/JPA/Migration/OpenJPA/PersistenceXML | Persistence.XML]]
# Query Hints
+
# [[EclipseLink/Examples/JPA/Migration/OpenJPA/QueryHints | Query Hints]]
 
# Extended Functionality
 
# Extended Functionality
  
 
=== Extended Functionality ===
 
=== Extended Functionality ===
  
The following items need to be added
+
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
 
* BigCollection

Revision as of 11:14, 24 September 2009

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

Back to the top