ObjectDB ObjectDB

Internal Website Search

11-20 of 43 resultsRefresh
19

UPDATE SET Queries in JPA/JPQL

(); A TransactionRequiredException is thrown if no transaction is active. On success - the executeUpdate
19

Locking in JPA

. A TransactionRequiredException is thrown if there is no active transaction when lock is called because explicit locking requires
19

JPA Exceptions

javax.persistence.TransactionRequiredException Exception Class Overview The root
13

javax.persistence.TypedQuery

for a criteria query TransactionRequiredException - if there is no transaction QueryTimeoutException ... back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException ... back TransactionRequiredException - if a lock mode has been set and there is no transaction
10

javax.persistence.Query

query TransactionRequiredException - if there is no transaction QueryTimeoutException ... exceeds the query timeout value set and only the statement is rolled back TransactionRequiredException ... the query timeout value set and only the statement is rolled back TransactionRequiredException - if a lock
5

find(entityClass, primaryKey, lockMode, properties)

argument is not a valid type for that entity's primary key or is null TransactionRequiredException
5

find(entityClass, primaryKey, lockMode)

TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified
5

remove(entity)

Method javax.persistence.EntityManager void remove( Object entity ) Remove the entity instance. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or is a detached entity TransactionRequiredException - if invoked on a container-managed entity
5

persist(entity)

TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
5

merge(entity)

is a removed entity TransactionRequiredException - if invoked on a container-managed entity manager

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