ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
4

refresh(entity, lockMode)

locking failure causes transaction-level rollback the LockTimeoutException will be thrown ... is not managed TransactionRequiredException - if there is no transaction and if invoked on a container-managed EntityManager instance with PersistenceContextType.TRANSACTION or with a lock mode
4

refresh(entity, lockMode, properties)

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level ... managed TransactionRequiredException - if there is no transaction and if invoked on a container-managed EntityManager instance with PersistenceContextType.TRANSACTION or with a lock mode
4

javax.persistence.FlushModeType

<FlushModeType> Flush mode setting. When queries are executed within a transaction, if FlushModeType ... . If there is no transaction active, the persistence provider must not flush to the database. Since: JPA 1.0 ... execution. Since: JPA 1.0 FlushModeType COMMIT Flushing to occur at transaction commit. Flushing to occur
4

joinTransaction()

that a JTA transaction is active. This method should be called on a JTA application managed entity manager that was created outside the scope of the active transaction to associate it with the current JTA transaction. Throws: TransactionRequiredException - if there is no transaction Since: JPA 1.0
0

jdoGetObjectId()

, then the ObjectId returned is only valid within the current transaction. If the JDO identity is being changed in the transaction, this method returns the object id as of the beginning of the current transaction. Returns: a copy of the ObjectId of this instance as of the beginning of the transaction. Since: JDO 1.0
0

jdoGetTransactionalObjectId()

of the instance has not changed in the current transaction. If the JDO identity is being changed in the transaction, this method returns the current object id as modified in the current transaction. Returns: a copy of the ObjectId of this instance as modified in the transaction. Since: JDO 1.0
0

isTransactional(pc)

whether the parameter instance is transactional. Instances whose state is associated with the current transaction return Boolean.TRUE. Instances known by the implementation to be non-transactional return Boolean ... . Returns: Boolean.TRUE if the parameter instance is transactional. Since: JDO 2.0 See Also: PersistenceCapable.jdoIsTransactional()
0

close()

from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction. If there are no active transactions, then close
0

javax.jdo.listener.StoreLifecycleListener

during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction ... is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit
0

javax.jdo.listener.DirtyLifecycleListener

, during an operation that modifies the value of a persistent or transactional field. Invoked ... transactional field. Called after the value is changed. Parameters: event - Since: JDO 2.0 void ... , during an operation that modifies the value of a persistent or transactional field. Invoked

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