About Transaction



If true, at commit time instances retain their field values.(Method of javax.jdo.Transaction)



Indicate to the entity manager that a JTA transaction is active.(Method of javax.persistence.EntityManager)



Close this PersistenceManagerFactory.(Method of javax.jdo.PersistenceManagerFactory)



Return a copy of the JDO identity associated with this instance.(Method of javax.jdo.spi.PersistenceCapable)


Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... set to true. I use a new EntityManager for each transaction (which normally happens in multithreaded application). When I create a child entity in one transaction and then remove it in another transaction, the database still contains 1 child entity. If I remove it and add ...


Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... Also appeared using clean DB (with recording from transaction 1) when I restarting slave server. ...and I updated to ... As for "empty master db" case #2: 1) non a single transaction has been made since last test, master has not been restarted ever. ...



This interface is implemented by listeners to be notified of dirty events.(Interface of JDO)


ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... loop which blew out the logs: Attempt to commit a transaction after failure in writing to database file ... javax.persistence.PersistenceException Attempt to commit a transaction after failure in writing to database file ... by: com.objectdb.o.UserException: Attempt to commit a transaction after failure in writing to database file ...



... embedded objects to collections. Fixed large transaction temporary files implementation ( feature request #255 ). ... exception on pessimistic locking retrieval with no active transaction. Improved support of entity objects in criteria ...


Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... the Reading's constructor and we are still in the same transaction (before any commit or rollback). In the debugger, when I ... Also, each of my calls to the server is made in a transaction (the entry point in the servlet is annotated with @Transaction for ...