About Transaction

61-70 of 200Refresh
Forum
26

remove & persist in same transaction => Attempt to reuse an existing primary key value

transaction: first remove additional Data -> The special Entity (with id 1) is empty and we remove ... and then in the same transaction persisting another object with the same primary key of the removed object
Forum
26

CM Transaction Implementation

Hi All, How to implement Container Managed Transaction using Glassfish / Weblogic server. Please provide us the step by step instruction, how ti achieve it       Please check the following tutorial: http://www.objectdb.com/tutorial/jpa/ee umesh
Forum
26

com.objectdb.o._RollbackException: Failed to commit transaction

Check the Exception below: (occurs sometimes, ObjectDB 2.3.6_14) com.objectdb.o._RollbackException: Failed to commit transaction: at com.objectdb.o.JPE.g(JPE.java:89) ~[JPE.class:na] at com.objectdb.o.ERR.f(ERR.java:59) ~[ERR.class:na] at com.objectdb.o.OBC
Forum
26

Failed to commit transaction: Java heap space (error 613)

.RollbackException Failed to commit transaction: Java heap space (error 613) We are using ObjectDB 2.4.6_10
Forum
26

Query problem after transaction commit

I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records. However, after transaction.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old
Forum
26

Querys without Transaction

Hello, are querys faster, if we use the entity manager without transaction, since we need only read-only entities. There is no much difference, but report queries, i.e. queries that return simple value fields rather than entity objects are more efficient as they eliminate the need to manage entity
Issue
25

Threaded Test - Failed to commit transaction: Unexpected internal exception

Threaded Test - Failed to commit transaction: Unexpected internal exception
Manual
23

Database Connection using JPA

the content of a database require active transactions. Transactions are managed by an EntityTransaction ... ) must be performed within an active transaction. The EntityTransaction interface represents and manages database transactions. Every EntityManager holds a single attached EntityTransaction instance that is available
Manual
23

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

Storing JPA Entity Objects

and changes its state to Managed. The new entity object is stored in the database when the transaction ... field values). A TransactionRequiredException is thrown if there is no active transaction when persist is called because operations that modify the database require an active transaction. If the database