JDO recognizes many standard runtime properties, all of which Kodo JDO supports (these properties are also covered in Section 7.2, “PersistenceManagerFactory Properties” of the JDO Overview).
Property name: javax.jdo.PersistenceManagerFactoryClass
Configuration API: kodo.conf.JDOConfiguration.getPersistenceManagerFactoryClass
Resource adaptor config-property: PersistenceManagerFactoryClass
Default: -
Description: The name of the concrete implementation of the javax.jdo.PersistenceManagerFactory that javax.jdo.JDOHelper.getPersistenceManagerFactory should create. For Kodo JDO, this should be kodo.jdbc.runtime.JDBCPersistenceManagerFactory or a custom extension of this type.
Property name: javax.jdo.option.ConnectionDriverName
Configuration API: kodo.conf.JDOConfiguration.getConnectionDriverName
Resource adaptor config-property: ConnectionDriverName
Default: -
Description: The full class name of either the JDBC java.sql.Driver, or a javax.sql.DataSource implementation to use to connect to the database. See Chapter 4, JDBC for details.
Property name: javax.jdo.option.ConnectionFactoryName
Configuration API: kodo.conf.JDOConfiguration.getConnectionFactoryName
Resource adaptor config-property: ConnectionFactoryName
Default: -
Description: The JNDI location of a javax.sql.DataSource to use to connect to the database. See Chapter 4, JDBC for details.
Property name: kodo.ConnectionFactory2Name
Configuration API: kodo.conf.JDOConfiguration.getConnectionFactory2Name
Resource adaptor config-property: ConnectionFactory2Name
Default: -
Description: The JNDI location of a non-XA javax.sql.DataSource to use to connect to the database. See Section 13.2, “XA Transactions” for details.
Property name: javax.jdo.option.ConnectionPassword
Configuration API: kodo.conf.JDOConfiguration.getConnectionPassword
Resource adaptor config-property: ConnectionPassword
Default: -
Description: The password for the user specified in the ConnectionUserName property. See Chapter 4, JDBC for details.
Property name: javax.jdo.option.ConnectionURL
Configuration API: kodo.conf.JDOConfiguration.getConnectionURL
Resource adaptor config-property: ConnectionURL
Default: -
Description: The JDBC URL for the database. See Chapter 4, JDBC for details.
Property name: javax.jdo.option.ConnectionUserName
Configuration API: kodo.conf.JDOConfiguration.getConnectionUserName
Resource adaptor config-property: ConnectionUserName
Default: -
Description: The user name to use when connecting to the database. See the Chapter 4, JDBC for details.
Property name: javax.jdo.option.IgnoreCache
Configuration API: kodo.conf.JDOConfiguration.getIgnoreCache
Resource adaptor config-property: IgnoreCache
Default: false
Description: Whether to consider modifications to persistent objects made in the current transaction when evaluating queries. See Section 7.2, “PersistenceManagerFactory Properties” of the JDO Overview for details.
Property name: javax.jdo.option.Multithreaded
Configuration API: kodo.conf.JDOConfiguration.getMultithreaded
Resource adaptor config-property: Multithreaded
Default: false
Description: Whether persistent instances and JDO components will be accessed by multiple threads at once. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details.
Property name: javax.jdo.option.NontransactionalRead
Configuration API: kodo.conf.JDOConfiguration.getNontransactionalRead
Resource adaptor config-property: NontransactionalRead
Default: true
Description: Whether the JDO runtime will allow you to read data outside of a transaction. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details.
Property name: javax.jdo.option.NontransactionalWrite
Configuration API: kodo.conf.JDOConfiguration.getNontransactionalWrite
Resource adaptor config-property: NontransactionalWrite
Default: false
Description: Whether you can modify persistent fields outside of a transaction. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details.
Property name: javax.jdo.option.Optimistic
Configuration API: kodo.conf.JDOConfiguration.getOptimistic
Resource adaptor config-property: Optimistic
Default: true
Description: Selects between optimistic and pessimistic (data store) transactional modes. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details.
Property name: javax.jdo.option.RestoreValues
Configuration API: kodo.conf.JDOConfiguration.getRestoreValues
Resource adaptor config-property: RestoreValues
Default: true
Description: Whether to restore managed fields to their pre-transaction values when a rollback occurs. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details.
Property name: javax.jdo.option.RetainValues
Configuration API: kodo.conf.JDOConfiguration.getRetainValues
Resource adaptor config-property: RetainValues
Default: true
Description: Whether persistent fields retain their values on transaction commit. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details.