Home » Search

About rollback

41-50 of 85Refresh
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
4

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
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
Forum
2

Run out of memory

and store it back in the database to access / modify later. I require to be able to rollback changes ... onRollback() { this.em.getTransaction().rollback(); this.em.clear(); this.em.close();     System.err.println("Rollback Done"); } The general call of these functions are: onBegin
Forum
2

@Unique member combination not working

.getTransaction().rollback();             }             em.close();         }     } } Main ... {                 if (em.getTransaction().isActive()) {                     em.getTransaction().rollback