Fast Object Database for Java - with JPA/JDO support

Internal Website Search

21-30 of 56 resultsRefresh
10

find(entityClass, primaryKey, lockMode)

and the lock mode type is pessimistic and the entity has a version attribute, the persistence provider ... , the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity instance ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
10

javax.persistence.Query

- if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking ... mode has been set and there is no transaction PessimisticLockException - if pessimistic locking
10

find(entityClass, primaryKey, lockMode, properties)

there. If the entity is found within the persistence context and the lock mode type is pessimistic ... . If the lock mode type is pessimistic and the entity instance is found but cannot be locked ... - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
9

refresh(entity, lockMode, properties)

properties. If the lock mode type is pessimistic and the entity instance is found but cannot be locked ... - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic
9

refresh(entity, lockMode)

, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity ... PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 2.0
9

javax.persistence.PessimisticLockScope

property for pessimistic locking. This property may be passed as an argument to the methods ... the default behavior for pessimistic locking. This value defines the default behavior for pessimistic
7

getSingleResult()

mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
7

getResultList()

- if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic
7

getSingleResult()

has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
7

getResultList()

- if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException - if the query

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