Non utilizzare le proprietà Kodo che non hanno un equivalente OpenJPA

WebLogic utilizza Kodo invece di OpenJPA per l'implementazione del provider JPA 1.0. Questa regola rileva l'utilizzo di kodo.* proprietà che non hanno un equivalente in OpenJPA. Questa regola rileva queste proprietà nel file persistence.xml, che deve essere presente nella cartella META-INF. La correzione automatica eliminerà queste proprietà.

Ad esempio, la seguente proprietà nel file persistence.xml viene rilevata ed eliminata.
<property name="kodo.FilterListeners" value="some value" />

L'elenco riportato di seguito mostra le proprietà che è possibile convertire. Qualsiasi proprietà che inizia con kodo. non presente in questo elenco viene contrassegnata da questa regola.
Proprietà convertite
kodo.AutoClear openjpa.AutoClear
kodo.AutoDetach openjpa.AutoDetach
kodo.BrokerFactory openjpa.BrokerFactory
kodo.BrokerImpl openjpa.BrokerImpl
kodo.ClassResolver openjpa.ClassResolver
kodo.Compatibility openjpa.Compatibility
kodo.ConnectionDriverName openjpa.ConnectionDriverName
kodo.Connection2DriverName openjpa.Connection2DriverName
kodo.ConnectionFactory openjpa.ConnectionFactory
kodo.ConnectionFactory2 openjpa.ConnectionFactory2
kodo.ConnectionFactoryName openjpa.ConnectionFactoryName
kodo.ConnectionFactory2Name openjpa.ConnectionFactory2Name
kodo.ConnectionFactoryMode openjpa.ConnectionFactoryMode
kodo.ConnectionFactoryProperties openjpa.ConnectionFactoryProperties
kodo.ConnectionFactory2Properties openjpa.ConnectionFactory2Properties
kodo.ConnectionPassword openjpa.ConnectionPassword
kodo.Connection2Password openjpa.Connection2Password
kodo.ConnectionProperties openjpa.ConnectionProperties
kodo.Connection2Properties openjpa.Connection2Properties
kodo.ConnectionURL openjpa.ConnectionURL
kodo.Connection2URL openjpa.Connection2URL
kodo.ConnectionUserName openjpa.ConnectionUserName
kodo.Connection2UserName openjpa.Connection2UserName
kodo.ConnectionRetainMode openjpa.ConnectionRetainMode
kodo.DataCache openjpa.DataCache
kodo.DataCacheManager openjpa.DataCacheManager
kodo.DataCacheTimeout openjpa.DataCacheTimeout
kodo.DetachState openjpa.DetachState
kodo.DynamicDataStructs openjpa.DynamicDataStructs
kodo.FetchBatchSize openjpa.FetchBatchSize
kodo.FetchGroups openjpa.FetchGroups
kodo.FlushBeforeQueries openjpa.FlushBeforeQueries
kodo.Id openjpa.Id
kodo.InverseManager openjpa.InverseManager
kodo.LockManager openjpa.LockManager
kodo.LockTimeout openjpa.LockTimeout
kodo.Log openjpa.Log
kodo.ManagedRuntime openjpa.ManagedRuntime
kodo.Mapping openjpa.Mapping
kodo.MaxFetchDepth openjpa.MaxFetchDepth
kodo.MetaDataFactory openjpa.MetaDataFactory
kodo.Multithreaded openjpa.Multithreaded
kodo.Optimistic openjpa.Optimistic
kodo.OrphanedKeyAction openjpa.OrphanedKeyAction
kodo.NontransactionalRead openjpa.NontransactionalRead
kodo.NontransactionalWrite openjpa.NontransactionalWrite
kodo.ProxyManager openjpa.ProxyManager
kodo.QueryCache openjpa.QueryCache
kodo.QueryCompilationCache openjpa.QueryCompilationCache
kodo.ReadLockLevel openjpa.ReadLockLevel
kodo.RemoteCommitProvider openjpa.RemoteCommitProvider
kodo.RestoreState openjpa.RestoreState
kodo.RetainState openjpa.RetainState
kodo.RetryClassRegistration openjpa.RetryClassRegistration
kodo.SavepointManager openjpa.SavepointManager
kodo.Sequence openjpa.Sequence
kodo.TransactionMode openjpa.TransactionMode
kodo.WriteLockLevel openjpa.WriteLockLevel
kodo.IgnoreChanges openjpa.IgnoreChanges
kodo.jdbc.ConnectionDecorators openjpa.jdbc.ConnectionDecorators
kodo.jdbc.DBDictionary openjpa.jdbc.DBDictionary
kodo.jdbc.DriverDataSource openjpa.jdbc.DriverDataSource
kodo.jdbc.EagerFetchMode openjpa.jdbc.EagerFetchMode
kodo.jdbc.FetchDirection openjpa.jdbc.FetchDirection
kodo.jdbc.JDBCListeners openjpa.jdbc.JDBCListeners
kodo.jdbc.LRSSize openjpa.jdbc.LRSSize
kodo.jdbc.MappingDefaults openjpa.jdbc.MappingDefaults
kodo.jdbc.MappingFactory openjpa.jdbc.MappingFactory
kodo.jdbc.ResultSetType openjpa.jdbc.ResultSetType
kodo.jdbc.Schema openjpa.jdbc.Schema
kodo.jdbc.SchemaFactory openjpa.jdbc.SchemaFactory
kodo.jdbc.Schemas openjpa.jdbc.Schemas
kodo.jdbc.SQLFactory openjpa.jdbc.SQLFactory
kodo.jdbc.SubclassFetchMode openjpa.jdbc.SubclassFetchMode
kodo.jdbc.SynchronizeMappings openjpa.jdbc.SynchronizeMappings
kodo.jdbc.TransactionIsolation openjpa.jdbc.TransactionIsolation
kodo.jdbc.UpdateManager openjpa.jdbc.UpdateManager

Nota: WebSphere tradizionale V8.5.5 e Liberty Web Profile 6.0 utilizzano OpenJPA per l'implementazione di JPA 2.0. L'implementazione JPA 2.1 di WebSphere tradizionale V9.0 e di Liberty Java EE 7 utilizza EclipseLink.