Home » Search

About commit

11-20 of 200Refresh
Manual
39

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Manual
39

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
Forum
27

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)   Some fatal exceptions mark an active transaction
Manual
22

Entity Management Settings

" on-persist="false" on-commit="true" /> commit or flush), regardless of this setting. The level2 attribute specifies the size ... commit="true" /> The
Manual
22

CRUD Database Operations with JPA

.getTransaction().commit(); Operations that modify the content of the database (such as storing new objects ... only when the transaction is committed. The Storing Entities section in chapter 3 discusses ... ().commit(); In the above code, p must be a managed entity object of the EntityManager em. The entity
Issue
20

NullpointerException when execute a commit

to commit transaction: Unexpected internal exception at com.objectdb.o.MSG.d(MSG.java:75) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:304) .... Caused by: com.objectdb.o.InternalException: Unexpected ... .EMImpl.commit(EMImpl.java:299) ... 45 more Caused by: java.lang.NullPointerException at com.objectdb.o
Forum
19

Rollback after commit fail

() persist object1 em.getTransaction().commit(); } catch(...){ em.getTransaction ... ().commit(); } catch(...){ em.getTransaction().rollback(); }   Parallel running threads caused that second thread commit will fail (primary key reuse exception), the exception is caught
Forum
19

Is it possible to commit only specific elements?

Hello, As stated above, I would like to know if it is possible to commit only specific elements, or ... , retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've previously retrieved and finally committing. My context is big data and performance is an issue
Issue
19

Unexpected Exception during commit

.2.9_01] javax.persistence.RollbackException Failed to commit transaction: Unexpected internal exception (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) at com ... .EMImpl.commit(EMImpl.java:274) ... 15 more Caused by: java.lang.NullPointerException
Forum
19

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

.COMMIT ); if ( m_EntityManager.isOpen() ) { m_EntityManager.getTransaction().begin ... ); } m_EntityManager.getTransaction().commit(); m_EntityManager.flush(); m ... .commit