Home » Search

About rollback

61-70 of 85Refresh
Forum
1

ClassCastException on closing PersistenceManager

().rollback();    }     this.persistenceManager.close();   } } It looks like it's related
Forum
1

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

() ) transaction.rollback() if( !pm.isClosed() ) pm.close
Forum
1

CriteriaQuery .where() for multiple conditions

.getTransaction().rollback(); } em.close(); } return person; } Yes, it looks fine
Forum
1

Date field Index is corrupted due to time change

())                 em.getTransaction().rollback();         }         q = em.createQuery("SELECT
Forum
1

Empty temporary dat files in the temp folder

rollback the transaction and closing the EntityManager. In some scenarios we use additional databases
Forum
1

Entity has be persistended,but query not fetched?

);         System.out.println("count: " + query.getResultList().size());         em.getTransaction().rollback
Forum
1

How to delete M2M relationship?

if (transaction != null && transaction.isActive()) { transaction.rollback
Forum
1

Is it possible to commit only specific elements?

.      If you split the activity to several transactions you can commit some of them and rollback
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