ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
3

javax.persistence.PersistenceContext

PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. (Optional) Specifies whether a transaction-scoped ... .PersistenceContextType.TRANSACTION Since: JPA 1.0 String unitName (Optional) The name
3

lock(entity, lockMode, properties)

but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction ... entity TransactionRequiredException - if there is no transaction EntityNotFoundException ... and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
3

find(entityClass, primaryKey, lockMode, properties)

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level ... TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified ... and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
3

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 ... value set and the transaction is rolled back Since: JPA 1.0
3

getResultList()

back TransactionRequiredException - 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 ... exceeds the query timeout value set and the transaction is rolled back Since: JPA 1.0
3

lock(entity, lockMode)

if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown ... is a detached entity TransactionRequiredException - if there is no transaction EntityNotFoundException ... and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
0

makeNontransactional(pc)

Method javax.jdo.PersistenceManager void makeNontransactional( Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache ... at transaction completion. Instead, the instance remains in the cache with nontransactional state
0

getTransactionalObjectId(pc)

. If the object identity is being changed in the transaction, by the application modifying one or more of the application key fields, then this method returns the current identity in the transaction. If there is no transaction in progress, or if none of the key fields is being modified
0

isTransactional(pc)

Static Method javax.jdo.JDOHelper boolean isTransactional( Object pc ) Tests whether the parameter instance is transactional. Instances whose state is associated with the current transaction return ... is transactional. Since: JDO 1.0 See Also: PersistenceCapable.jdoIsTransactional()
0

checkConsistency()

with the datastore. This method has no effect if a transaction is not active. If a datastore transaction is active, this method verifies the consistency of instances in the cache against the datastore ... 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