About TransactionRequiredException

11-20 of 42Refresh
Manual
17

Detached Entity Objects

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

Storing JPA Entity Objects

field values). A TransactionRequiredException is thrown if there is no active transaction when persist
Manual
17

Running JPA Queries [2011-09-21]

").executeUpdate(); A TransactionRequiredException is thrown if no transaction is active. On success
Manual
17

Running JPA Queries

").executeUpdate(); A TransactionRequiredException is thrown if no transaction is active. On success
JPA Doc
11

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 ... is rolled back TransactionRequiredException - if a lock mode has been set and there is no transaction
JPA Doc
9

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
JPA Doc
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
JPA Doc
5

find(entityClass, primaryKey, lockMode)

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

find(entityClass, primaryKey, lockMode, properties)

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

find(entityClass, primaryKey, lockMode, properties)

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