About rollback

manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... See JavaDoc Reference Page... ( ) . rollback rollback() EntityTransaction's method Roll back the current ...

 
manual

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA. This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: Database Connection using JPA Working with JPA Entity Objects ...

 
api-jpa

rollback()

Roll back the current resource transaction.(Method of javax.persistence.EntityTransaction)

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) ... Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at ... Some fatal exceptions mark an active transaction as rollback only. In that case - you can only close the transaction with rollback not with commit . Maybe your application caught the ...

 
api-jdo

rollback()

Roll back the current transaction.(Method of javax.jdo.Transaction)

 
api-jpa

javax.persistence.EntityManager

Interface used to interact with the persistence context.(Interface of JPA)

 
api-jdo

javax.jdo.Transaction

The JDO Transaction interface provides for initiation and completion of transactions under user control.(Interface of JDO)

 
api-jpa

javax.persistence.EntityTransaction

Interface used to control transactions on resource-local entity managers.(Interface of JPA)

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... Operations: begin, commit, rollback . ...

 
api-jpa

javax.persistence.LockTimeoutException

Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.(Exception of JPA)