About optimistic

41-50 of 89Refresh
JPA Doc
8

javax.persistence.Version

javax.persistence Annotation Version Target: Fields (including property get methods) Specifies the version field or property of an entity class that serves as its optimistic lock value. The version is used to ensure integrity when performing the merge operation and for optimistic concurrency
JDO Doc
8

javax.jdo.JDOOptimisticVerificationException

Interfaces: Serializable This class represents optimistic verification failures. The nested exception array contains an exception for each instance that failed the optimistic verification. Since: JDO 1
Forum
7

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal ... : Optimistic lock failed for object   perhaps I should explain the problem, which is that the optimistic lock ... A get the optimistic lock exception. ie: the version number does not appear to be automatically updated in
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