About transaction

41-50 of 200Refresh
Manual
50

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
JDO Doc
50

JDO Reference (JavaDoc)

Java/JDO API Reference (based on the JDO 2.2 JavaDoc)
Issue
32

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

[]: buildProject: em.transaction.isActive(true) Info: ExtRequestBean []: Created: com.greensoft ... ._PersistenceException: Attempt to begin a new transaction when a transaction is active at com.sun.ejb ... .transaction == null"); } else { EntityTransaction t = em.getTransaction
JDO Doc
32

javax.jdo.JDOEntityManager

. This method has no effect if a transaction is not active. If a datastore transaction is active ... transaction is active, this method obtains a datastore connection and verifies the consistency ... query is found to be invalid Since: JPA 2.0 Transaction currentTransaction() Return the Transaction
Manual
32

Locking in JPA

separately. Optimistic locking is applied on transaction commit. Any database object ... by another transaction. When using ObjectDB, optimistic locking is enabled by default and fully ... must be revealed earlier (before transaction commit) pessimistic locking can be used. When using
Forum
27

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces take list of objects and persist them and the interface service is marked as @Transactional ... object we don't get it back on lookup. This is with transactions we are not able to retrieve
Manual
26

CRUD Database Operations with JPA

) require an active transaction. In the example above, every Point object is first constructed as an ordinary Java object. It then becomes associated with an EntityManager and with its transaction (as ... only when the transaction is committed. The Storing Entities section in chapter 3 discusses
Forum
26

Attempt to begin a new transaction when a transaction is active

" transaction-type="JTA"> com.objectdb.jpa.Provider transaction when a transaction is active root cause com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active root
JDO Doc
26

javax.jdo.PersistenceManager

application components. It is the factory for Query and Transaction instances, and contains methods ... if a transaction is not active. If a datastore transaction is active, this method verifies ... if flush were called, but it is not required to do so. If an optimistic transaction is active
Forum
26

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