About rollback

41-50 of 93Refresh
JPA Doc
5

javax.persistence.EntityNotFoundException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.getReference
JPA Doc
5

javax.persistence.PersistenceException

, and QueryTimeoutException will cause the current transaction, if one is active, to be marked for rollback
JPA Doc
5

javax.persistence.OptimisticLockException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.find(Class
JPA Doc
5

javax.persistence.NoResultException

transaction, if one is active, to be marked for rollback. Since: JPA 1.0 See Also: Query
JDO Doc
5

javax.jdo.listener.ClearLifecycleListener

and rollback with RestoreValues false. The method is called during any state transition to hollow. Non
JPA Doc
5

javax.persistence.PessimisticLockException

transaction, if one is active, will be marked for rollback. Since: JPA 2.0 PessimisticLockException
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
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
3

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