 19 | . A TransactionRequiredException is thrown if there is no active transaction when lock is called because explicit locking requires |
 19 | ").executeUpdate(); A TransactionRequiredException is thrown if no transaction is active. On success |
 19 | (); A TransactionRequiredException is thrown if no transaction is active. On success - the executeUpdate |
 13 | 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 |
 10 | 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 | 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 | TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified |
 5 | TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified |
 5 | TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified |
 5 | 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 |