About optimistic

21-30 of 86Refresh
Forum
20

Optimistic Lock Exception With No Concurrency

Optimistic Lock Exception With No Concurrency
Manual
15

Setting and Tuning of JPA Queries

uses automatic optimistic locking to prevent concurrent changes to entity objects by multiple users
Result
15

How to upgrade from ObjectDB 1.0?

. ObjectDB 2.0 uses optimistic transactions by default (the default was datastore transactions in
Result
15

What is new in ObjectDB 2.0?

optimistic locking support. Performance improvement in writing and reading of objects. Level 2
JDO Doc
15

javax.jdo.PersistenceManagerFactory

to get nontransactional connections for optimistic transactions. Returns: the data store connection ... environments to get nontransactional connections for optimistic transactions. Returns: the name ... getOptimistic() Get the default Optimistic setting for all PersistenceManager instances obtained
JDO Doc
14

javax.jdo.Transaction

with options and transaction demarcation. Transaction options include whether optimistic concurrency ... a transaction. Begin a transaction. The type of transaction is determined by the setting of the Optimistic ... Since: JDO 1.0 boolean getOptimistic() Optimistic transactions do not hold data store locks
JDO Doc
13

javax.jdo.Constants

() String OPTION_OPTIMISTIC "javax.jdo.option.Optimistic" "javax.jdo.option.Optimistic" Since: JDO 2.1 ... . Since: JDO 2.1 String PMF_ATTRIBUTE_OPTIMISTIC The name of the persistence manager factory element's "optimistic" attribute. The name of the persistence manager factory element's "optimistic" attribute
JPA Doc
12

javax.persistence.EntityManager

has a version attribute, the persistence provider must perform optimistic version checks ... mode other than NONE is specified OptimisticLockException - if the optimistic version check fails ... has a version attribute, the persistence provider must perform optimistic version checks when obtaining
JDO Doc
11

javax.jdo.PersistenceManager

if flush were called, but it is not required to do so. If an optimistic transaction is active ... with the datastore and reports any exceptions. If an optimistic transaction is active, this method ... will be enlisted in the current transaction. If called in an optimistic transaction or outside an active
JPA Doc
6

find(entityClass, primaryKey, lockMode)

provider must perform optimistic version checks when obtaining the database lock. If these checks fail ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking