About rollback

71-80 of 88Refresh
Forum
1

Not able to update records

.getTransaction().commit(); // end the transaction On an error you had propably to rollback your transaction
Issue
1

NullPointer running multiple client against server

.getTransaction().isActive()) em.getTransaction().rollback(); throw new ApplicationException
Forum
1

NullPointerException while setting a new property value

.getTransaction().isActive()) em.getTransaction().rollback(); em.close
Forum
1

One transaction or two?

().rollback(); } if(!pm.isClosed()) { pm.close(); } } Should I separate the deletes
Forum
1

Optimistic locking: prevent version increment on entity collection attribute

and we are still in the same transaction (before any commit or rollback). In the debugger, when I check
Forum
1

Removing an entity throws exception

);      em.getTransaction().commit();     }     catch (Exception e) {      em.getTransaction().rollback
Forum
1

Rename Application StringIdentity

.isActive()) transaction.rollback(); } Would the above code keep my persisted object in the ObjectDB
Forum
1

Suspected memleak caused by bad state of EntityManager

.rollback(EMImpl.java:295) ~[EMImpl.class:na] at com.app.dao.impl.ObjectdbExpeditionDAO
Issue
1

Unexpected exception (Error 990)

(); } finally { if (transaction.isActive()) { transaction.rollback(); } } "repository
Issue
1

Unexpected exception (Error 990) - NullPointerException

has been marked for rollback. Why it has been marked was not clear. Thank you again for this report. An error