About transaction

31-40 of 200Refresh
JDO Doc
66

getRetainValues()

Method javax.jdo.Transaction boolean getRetainValues() If true, at commit time instances retain their field values. Returns: the value of the retainValues property Since: JDO 1.0
JDO Doc
66

PersistenceModifier.TRANSACTIONAL

Enum Constant javax.jdo.annotations.PersistenceModifier TRANSACTIONAL Since: JDO 2.1
JDO Doc
66

setRetainValues(retainValues)

Method javax.jdo.Transaction void setRetainValues(   boolean retainValues ) If true, at commit instances retain their values and the instances transition to persistent-nontransactional. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters
Issue
36

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
Manual
33

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Forum
32

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
Forum
32

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
Forum
32

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
Issue
25

Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception ... .com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in
Forum
24

Access entity version before commit transaction

commiting the transaction: 1. Change entity field e.g. from a to b 2. Create a change entry in database ... the transaction before commiting it. How can I achieve this? If I add something to a collection field ... field it doesn´t. I tried transaction.flush() in combination with transaction.refresh(entity