EclipseLink/Examples/JPA/Migration/OpenJPA

From Eclipsepedia

Jump to: navigation, search

How To Migrate from OpenJPA to EclipseLink JPA

Persistence Unit Properties

OpenJPA Property Description EclipseLink JPA Equivalent
openjpa.AutoClear
openjpa.AutoDetach
openjpa.BrokerFactory
openjpa.BrokerImpl
openjpa.ClassResolver
openjpa.Compatibility
openjpa.ConnectionDriverName eclipselink.jdbc.driver
openjpa.Connection2DriverName
openjpa.ConnectionFactory
openjpa.ConnectionFactory2
openjpa.ConnectionFactoryName
openjpa.ConnectionFactory2Name
openjpa.ConnectionFactoryMode
openjpa.ConnectionFactoryProperties
openjpa.ConnectionFactory2Properties
openjpa.ConnectionPassword eclipselink.jdbc.password
openjpa.Connection2Password
openjpa.ConnectionProperties
openjpa.Connection2Properties
openjpa.ConnectionURL eclipselink.jdbc.url
openjpa.Connection2URL
openjpa.ConnectionUserName eclipselink.jdbc.user
openjpa.Connection2UserName
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 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