ObjectDB ObjectDB

Internal Website Search

61-70 of 88 resultsRefresh

Where Does ObjectDB Block/Lock?

) Does it lock at transaction.begin() if optimistic=false? 4) Does it lock at transaction.commit() if optimistic=true? 5) ObjectDB 1.0 Manual (Support > Knowledge Base > ObjectDB 1.0 Manual > 5. JDO ... transactions are preferred." But, newer version 2.6.8_05 ObjectDB defaults optimistic=true, perhaps implying

Remove an entity which attributes were changed - OptimisticLockException

the entity from the database. After commit the transaction an exception is caused with optimistic lock ... flushing changes to the database. You may also disable optimistic locking checks if you do not need ... to the optimistic lock exception. But the ObjectDB throws the changes of the entity, if invoking


._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version ... here. EDIT: Merge will attach Willks William Optimistic locking is enabled by ObjectDB automatically even if no version field is defined. You can disable optimistic locking checks (and eliminate

again merger missing logs + objectdb exception

to remain healthy). It shows that this happens when an optimistic lock exception is thrown during commit ... of optimistic lock exceptions, which should fail regardless of printing their location now to the log. support ... when there is an optimistic lock exception on a large object (>= ~2KB). Assuming you have ObjectDB 2

ObjectDB 2.4.0

classes (issue #672). Fixed LockModeType.OPTIMISTIC (READ) by handling it as OPTIMISTIC_FORCE_INCREMENT. Fixed a bug in optimistic locking on find by using LockModeType.WRITE. Fixed exception


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

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

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


transactions; and persistent instances modified in optimistic transactions. Transient


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


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

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