ObjectDB ObjectDB

Internal Website Search

41-50 of 87 resultsRefresh
30

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal ... : Optimistic lock failed for object dmoshal David Moshal perhaps I should explain the problem, which is that the optimistic lock exception fails repeatedly once the object is modified from another process. ie
6

find(entityClass, primaryKey, lockMode, properties)

is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
6

lock(entity, lockMode)

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

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
0

setIgnoreCache(ignoreCache)

might be able to optimize the query execution by ignoring changed values in the cache. For optimistic
0

isTransactional(pc)

in data store transactions; and persistent instances modified in optimistic transactions. Transient
0

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

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

getObjectById(oid, validate)

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

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
0

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support