Home » Search

About optimistic

31-40 of 81Refresh
JDO Doc
7

getOptimistic()

Method javax.jdo.PersistenceManagerFactory boolean getOptimistic() Get the default Optimistic setting for all PersistenceManager instances obtained from this factory. Returns: the default Optimistic setting. Since: JDO 1.0
JDO Doc
7

getOptimistic()

Method javax.jdo.Transaction boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Returns: the value of the Optimistic property. Since: JDO 1.0
JDO Doc
7

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
JPA Doc
7

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
JPA Doc
7

lock(entity, lockMode)

, the persistence provider must also perform optimistic version checks when obtaining the database lock ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking
JPA Doc
7

lock(entity, lockMode, properties)

optimistic version checks when obtaining the database lock. If these checks fail ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
JPA Doc
7

LockModeType.READ

Enum Constant javax.persistence.LockModeType READ Synonymous with OPTIMISTIC. OPTIMISTIC is to be preferred for new applications. Since: JPA 1.0
JPA Doc
7

LockModeType.WRITE

Enum Constant javax.persistence.LockModeType WRITE Synonymous with OPTIMISTIC_FORCE_INCREMENT. OPTIMISTIC_FORCE_IMCREMENT is to be preferred for new applications. Since: JPA 1.0
JDO Doc
7

setOptimistic(flag)

Method javax.jdo.PersistenceManagerFactory void setOptimistic(   boolean flag ) Set the default Optimistic setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default Optimistic setting. Since: JDO 1.0
Forum
6

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