Home » Search

About rollback

41-50 of 87Refresh
JPA Doc
4

javax.persistence.QueryTimeoutException

is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: JPA
JDO Doc
4

preClear(event)

during an application call to evict, and in afterCompletion for commit with RetainValues false and rollback
JDO Doc
4

setRollbackOnly()

Method javax.jdo.Transaction void setRollbackOnly() Sets the rollback-only status of the transaction to true. After this flag is set to true, the transaction can no longer be committed, and any attempt to commit the transaction will throw JDOFatalDataStoreException. Since: JDO 2.0
JDO Doc
4

setSynchronization(sync)

commit or rollback operation. Only one Synchronization instance can be registered with the Transaction
Issue
3

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

.TransactionRequiredException Attempt to rollback a transaction when no transaction is active (error 611 ... .TransactionRequiredException Attempt to rollback a transaction when no transaction is active (error 611 ... afterCompletion() callback: [ObjectDB 2.6.9_06] javax.persistence.PersistenceException Attempt to rollback
Forum
3

Dirty checking

see, so I just drop the transaction? Don't I have to either rollback or commit it? Let's take a step ... ' calculation at the end of any request. thoughts? OK. Rollback is fine, of course ... , thanks, I'm not using Java Arrays, just List collections. Regarding rollback
Issue
3

Best practise loading big data

only operation, do you really need commit? maybe you can use rollback or clear instead of commit ... to rollback or just to clear then we can do that instead. Thanks for this hint! Yes, only enhanced classes ... expect performance improvements with rollback / clear, although it makes more sense to use
Forum
2

How to Use a SF with extended Persistence Context?

with exception: com.objectdb.o._TransactionRequiredException: Attempt to rollback a transaction ... .arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:134) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate
Forum
2

New to Product & Having An Issue

().rollback(); assertTrue(false); } } @Test public void ... .getTransaction().rollback(); assertTrue(false); } } @After public ... (); if(em.getTransaction().isActive()) em.getTransaction().rollback
Forum
2

pesimistic Lock semantic

(); pm2.currentTransaction().rollback(); System.out.println(Thread.currentThread().getName ... ().isActive()) pm1.currentTransaction().rollback(); pm1.close(); } if (pm2 != null) { if (pm2.currentTransaction().isActive()) pm2.currentTransaction().rollback(); pm2.close