ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
4

javax.persistence.PersistenceContextType

: Serializable, Comparable<PersistenceContextType> Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext. If not specified, a transaction-scoped ... Extended persistence context Since: JPA 1.0 PersistenceContextType TRANSACTION Transaction-scoped
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

getTransactionType()

() Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type corresponds to the transaction-type attribute in the persistence.xml file. Returns: transaction type of the entity managers created by the EntityManagerFactory Since: JPA 1.0
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

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

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

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

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

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

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

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