Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Examples/JPA/Migration/OpenJPA"
< EclipseLink | Examples | JPA | Migration
(→Persistence Unit Properties) |
|||
Line 22: | Line 22: | ||
| openjpa.Compatibility || || | | openjpa.Compatibility || || | ||
|- | |- | ||
− | | openjpa.ConnectionDriverName || || | + | | openjpa.ConnectionDriverName || || eclipselink.jdbc.driver |
|- | |- | ||
| openjpa.Connection2DriverName || || | | openjpa.Connection2DriverName || || | ||
Line 40: | Line 40: | ||
| openjpa.ConnectionFactory2Properties || || | | openjpa.ConnectionFactory2Properties || || | ||
|- | |- | ||
− | | openjpa.ConnectionPassword || || | + | | openjpa.ConnectionPassword || || eclipselink.jdbc.password |
|- | |- | ||
− | | openjpa.Connection2Password || || | + | | openjpa.Connection2Password || || |
|- | |- | ||
| openjpa.ConnectionProperties || || | | openjpa.ConnectionProperties || || | ||
Line 48: | Line 48: | ||
| openjpa.Connection2Properties || || | | openjpa.Connection2Properties || || | ||
|- | |- | ||
− | | openjpa.ConnectionURL || || | + | | openjpa.ConnectionURL || || eclipselink.jdbc.url |
|- | |- | ||
| openjpa.Connection2URL || || | | openjpa.Connection2URL || || | ||
|- | |- | ||
− | | openjpa.ConnectionUserName || || | + | | openjpa.ConnectionUserName || || eclipselink.jdbc.user |
|- | |- | ||
| openjpa.Connection2UserName || || | | openjpa.Connection2UserName || || |
Revision as of 19:36, 23 February 2009
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 |