About transaction

41-50 of 200Refresh
Manual
19

CRUD Database Operations with JPA [2011-02-11]

) 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
Manual
19

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
JDO Doc
19

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
Tutorial
18

Step 3: Define a Spring DAO Component

.transaction.annotation.Transactional; @Component public class GuestDao { // Injected database ... : @Transactional public void persist(Guest guest) { em.persist(guest ... field (because it is annotated with the @PersistenceContext annotation). Handles transactions
Tutorial
18

Step 3: Define a Spring DAO Component

.TypedQuery; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; @Component public class GuestDao { // Injected database connection: @PersistenceContext private EntityManager em; // Stores a new guest: @Transactional
Tutorial
18

Step 6: Set the Spring XML

> transaction-manager="myTxManager" />
Tutorial
18

Step 6: Set the Spring XML

>
Manual
18

Working with JPA Entity Objects [2011-04-18]

via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit ... Entities section. If a managed entity object is modified within an active transaction the change is detected by the owning EntityManager and the update is propagated to the database on transaction
Manual
18

Working with JPA Entity Objects

via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit ... Entities section. If a managed entity object is modified within an active transaction the change is detected by the owning EntityManager and the update is propagated to the database on transaction
Issue
17

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