About transaction

51-60 of 200Refresh
Manual
19

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

Database Explorer

manages an active transaction for every open database file. All the editing operations are associated with the active transaction. The File > Save menu command commits the transaction (applying all the changes to the database). The File > Discard Changes menu command rolls back the transaction
Manual
17

Deleting JPA Entity Objects

transaction, it can be deleted using the remove method: Employee employee = em.find(Employee.class, 1 ... (); The entity object is physically deleted from the database when the transaction is committed. Embedded objects that are contained in the entity object are also deleted. If the transaction is rolled
Manual
17

Obtaining a JPA Database Connection

transaction. Given an EntityManager, em, it is very easy to begin a transaction: em.getTransaction().begin ... EntityTransaction instances that the getTransaction method returns. When a transaction is active ... updates are collected and managed in memory and applied to the database when the transaction
Result
17

ObjectDB Object Database Features

using a recovery file and double writing. Additional recovery layer - supports full transaction ... can be very effective in heavy loaded multi-user systems. Transactions JPA/JDO ACID transactions ... . Automatically repairs damaged database files with minimum data loss (if any). Transaction Replayer
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
Forum
16

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

Removed entities can be found by query in the same transaction

Hello, we opened a transaction, load an entity from database and removed this entity by em.remove ... : ObjectDB uses snapshots in order to isolate transactions, i.e. to hide uncommitted flush changes of one transaction from other transactions, but still make them available to that transaction
Forum
15

Visibility of changes in Transaction is not visible to a JPA QL Query

I have two simple Entities ( see attachment ) and a simple SLSB with container managed transactions ... InitialContext();    javax.transaction.UserTransaction tx = (javax.transaction.UserTransaction) context ... ();   } catch   The problem is that the items that I add in the transaction are not visible when I
Forum
15

Performance in large transactions

Hello, we have a performance problem when we use a large transaction. Let's do exactly the same in several transactions the ObjectDB works much faster. In our use case, we create many new entities ... (FlushModeType.AUTO); EntityTransaction transaction = entityManager.getTransaction