About rollback

51-60 of 90Refresh
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
Forum
2

Cannot catch a PersistenceException and continue the transaction

in the same transaction. Implement a BMT- it doesn't let me commit and rollback because the server ... , the transaction is not expected to be marked for rollback. Ohh, I see. Thx! dreckguy
Forum
2

evictAll() behavior

().rollback();    System.out.println(Thread.currentThread().getName() + " --" + "provisioning rollback
Issue
2

InternalException

.rollback(EMImpl.java:292) at rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer.rollback(Unknown
Issue
2

Sometimes the ObjectDB throws an internal expeption if a persist() was executed

for all entities an instance in the database and rollback the transaction. (As we do that in a separate thread ... of our application we add for all entity classes an instance in the database and rollback the transaction
Issue
2

Threaded Test - Failed to commit transaction: Unexpected internal exception

())                     em.getTransaction().rollback();                 throw new RuntimeException("Error ... .getTransaction().rollback();                 em.close();             }         }     }         @Entity
Forum
2

Unable to delete the .odb file programatically

.currentTransaction().isActive()) {     pm.currentTransaction().rollback(); } if (!pm ... ().isActive()) {     pm.currentTransaction().rollback(); } if (!pm.isClosed