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

From Eclipsepedia

Jump to: navigation, search
(Persistence Unit Properties)
(Replacing page with '== How To Migrate from OpenJPA to EclipseLink JPA == === TO DO List === The following items need to be added * BigCollection * FetchPlan/Group * Inheritance Casting * Nativ...')
Line 2: Line 2:
  
  
=== Persistence Unit Properties ===
+
=== TO DO List ===
  
{|{{BMTableStyle}}
+
The following items need to be added
|-{{BMTHStyle}}
+
 
! OpenJPA Property
+
* BigCollection
! Description
+
* FetchPlan/Group
! EclipseLink JPA Equivalent
+
* Inheritance Casting
|-
+
* Native SQL with POJO results
| openjpa.AutoClear ||  ||
+
|-
+
| openjpa.AutoDetach ||  ||
+
|-
+
| openjpa.BrokerFactory ||  ||
+
|-
+
| openjpa.BrokerImpl ||  ||
+
|-
+
| openjpa.ClassResolver ||  ||
+
|-
+
| openjpa.Compatibility ||  ||
+
|-
+
| openjpa.ConnectionDriverName ||  || eclipselink.jdbc.driver
+
|-
+
| openjpa.ConnectionFactory ||  ||
+
|-
+
| openjpa.ConnectionFactoryName ||  ||
+
|-
+
| openjpa.ConnectionFactoryMode ||  ||
+
|-
+
| openjpa.ConnectionFactoryProperties ||  ||
+
|-
+
| openjpa.ConnectionPassword ||  || eclipselink.jdbc.password
+
|-
+
| openjpa.ConnectionProperties ||  ||
+
|-
+
| openjpa.ConnectionURL ||  || eclipselink.jdbc.url
+
|-
+
| openjpa.ConnectionUserName ||  || eclipselink.jdbc.user
+
|-
+
| openjpa.Connection2DriverName ||  ||
+
|-
+
| openjpa.Connection2Properties ||  ||
+
|-
+
| openjpa.ConnectionFactory2Name ||  ||
+
|-
+
| openjpa.ConnectionFactory2 ||  ||
+
|-
+
| openjpa.ConnectionFactory2Properties ||  ||
+
|-
+
| openjpa.Connection2Password ||  ||
+
|-
+
| openjpa.Connection2UserName ||  ||
+
|-
+
| openjpa.Connection2URL ||  ||
+
|-
+
| openjpa.ConnectionRetainMode ||  ||
+
|-
+
| openjpa.DataCache ||  ||
+
|-
+
| openjpa.DataCacheManager ||  ||
+
|-
+
| openjpa.DataCacheTimeout ||  ||
+
|-
+
| openjpa.DetachState ||  ||
+
|-
+
| openjpa.DynamicDataStructs ||  ||
+
|-
+
| openjpa.FetchBatchSize ||  ||
+
|-
+
| openjpa.FetchGroups ||  ||
+
|-
+
| openjpa.FlushBeforeQueries ||  ||
+
|-
+
| openjpa.IgnoreChanges ||  ||
+
|-
+
| openjpa.Id ||  ||
+
|-
+
| openjpa.InverseManager ||  ||
+
|-
+
| openjpa.LockManager ||  ||
+
|-
+
| openjpa.LockTimeout ||  ||
+
|-
+
| openjpa.Log || Possible values: openjpa, commons, log4j, none  || [[Using_EclipseLink_JPA_Extensions_(ELUG)#Using_EclipseLink_JPA_Extensions_for_Logging | eclipselink.logging.logger]] with values DefaultLogger, JavaLogger, ServerLogger, or custom
+
|-
+
| openjpa.ManagedRuntime ||  ||
+
|-
+
| openjpa.Mapping ||  ||
+
|-
+
| openjpa.MaxFetchDepth ||  ||
+
|-
+
| openjpa.MetaDataFactory ||  ||
+
|-
+
| openjpa.Multithreaded ||  ||
+
|-
+
| openjpa.Optimistic ||  ||
+
|-
+
| openjpa.OrphanedKeyAction ||  ||
+
|-
+
| openjpa.NontransactionalRead ||  ||
+
|-
+
| openjpa.NontransactionalWrite ||  ||
+
|-
+
| openjpa.ProxyManager ||  ||
+
|-
+
| openjpa.QueryCache ||  ||
+
|-
+
| openjpa.QueryCompilationCache ||  ||
+
|-
+
| openjpa.ReadLockLevel ||  ||
+
|-
+
| openjpa.RemoteCommitProvider ||  ||
+
|-
+
| openjpa.RestoreState ||  ||
+
|-
+
| openjpa.RetainState ||  ||
+
|-
+
| openjpa.RetryClassRegistration ||  ||
+
|-
+
| openjpa.SavepointManager ||  ||
+
|-
+
| openjpa.Sequence ||  ||
+
|-
+
| openjpa.TransactionMode ||  ||
+
|-
+
| openjpa.WriteLockLevel  ||  ||
+
|}
+

Revision as of 10:46, 24 September 2009

How To Migrate from OpenJPA to EclipseLink JPA

TO DO List

The following items need to be added

  • BigCollection
  • FetchPlan/Group
  • Inheritance Casting
  • Native SQL with POJO results