Fast Object Database for Java - with JPA/JDO support

Internal Website Search

31-40 of 90 resultsRefresh
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
11

javax.jdo.PersistenceManager

if flush were called, but it is not required to do so. If an optimistic transaction is active, this method ... with the datastore and reports any exceptions. If an optimistic transaction is active, this method ... in the current transaction. If called in an optimistic transaction or outside an active transaction
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

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
6

lock(entity, lockMode, properties)

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

LockModeType.READ

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

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
6

find(entityClass, primaryKey, lockMode, properties)

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

find(entityClass, primaryKey, lockMode)

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 fails
6

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

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