Home » Search

About optimistic

41-50 of 81Refresh
JDO Doc
5

begin()

Method javax.jdo.Transaction void begin() Begin a transaction. The type of transaction is determined by the setting of the Optimistic flag. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is already active. Since: JDO 1.0 See Also: setOptimistic getOptimistic
JDO Doc
5

checkConsistency()

to do so. If an optimistic transaction is active, this method obtains a datastore connection and verifies
JDO Doc
5

flush()

Method javax.jdo.PersistenceManager void flush() Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic
JDO Doc
5

getConnectionFactory2()

Method javax.jdo.PersistenceManagerFactory Object getConnectionFactory2() Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Returns: the data store connection factory. Since: JDO 1.0
JDO Doc
5

getConnectionFactory2Name()

Method javax.jdo.PersistenceManagerFactory String getConnectionFactory2Name() Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Returns: the name of the data store connection factory. Since: JDO 1.0
JDO Doc
5

getDataStoreConnection()

Method javax.jdo.PersistenceManager JDOConnection getDataStoreConnection() If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object returned
JDO Doc
5

getObjectById(oid, validate)

transaction in progress, the returned instance will be persistent-clean. If there is an optimistic
JDO Doc
5

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

.Optimistic", "javax.jdo.option.RetainValues", "javax.jdo.option.RestoreValues", "javax.jdo.option
JDO Doc
5

isTransactional(pc)

in data store transactions; and persistent instances modified in optimistic transactions. Transient
JDO Doc
5

javax.jdo.JDOHelper

are standard key names: "javax.jdo.PersistenceManagerFactoryClass" "javax.jdo.option.Optimistic", "javax.jdo