ObjectDB ObjectDB

Internal Website Search

11-20 of 44 resultsRefresh
19

Detached Entity Objects

class or it is a removed entity. A TransactionRequiredException is thrown if there is no active
19

UPDATE SET Queries in JPA/JPQL

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

DELETE Queries in JPA/JPQL

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

Running JPA Queries

("UPDATE Country SET area = 0").executeUpdate(); A TransactionRequiredException is thrown
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

executeUpdate()

Method javax.persistence.Query int executeUpdate() Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException
5

find(entityClass, primaryKey, lockMode, properties)

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

refresh(entity, lockMode, properties)

managed TransactionRequiredException - if there is no transaction and if invoked on a container-managed
5

refresh(entity, properties)

is not managed 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