ObjectDB ObjectDB

Internal Website Search

31-40 of 44 resultsRefresh
5

joinTransaction()

transaction. Throws: TransactionRequiredException - if there is no transaction Since: JPA 1.0
5

getSingleResult()

the query timeout value set and only the statement is rolled back TransactionRequiredException - if a lock
5

getResultList()

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException
5

getSingleResult()

timeout value set and only the statement is rolled back TransactionRequiredException - if a lock mode
5

javax.persistence.PersistenceException

, OptimisticLockException, PessimisticLockException, QueryTimeoutException, RollbackException, TransactionRequiredException
5

getResultList()

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException
5

getLockMode(entity)

Method javax.persistence.EntityManager LockModeType getLockMode( Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance Returns: lock mode Throws: TransactionRequiredException - if there is no transaction IllegalArgumentException - if the instance
5

flush()

Method javax.persistence.EntityManager void flush() Synchronize the persistence context to the underlying database. Throws: TransactionRequiredException - if there is no transaction PersistenceException - if the flush fails Since: JPA 1.0
5

java.io.Serializable

, Throwable, TransactionRequiredException, PersistenceType, ValidationMode, VersionStrategy
3

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.TransactionRequiredException //Attempt to flush a transaction when no transaction is active ... .persistence.TransactionRequiredException Attempt to flush a transaction when no transaction is active ... .persistence.TransactionRequiredException Attempt to rollback a transaction when no transaction is active

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