About transaction

forum_thread

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. ...

 
issue

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 ...

 
issue

NullpointerException when execute a commit

Hello, following exception occurs when using objectdb: ... com.objectdb.o.UserException: Failed to commit transaction: Unexpected internal exception at ...

 
api-jdo

getRestoreValues()

Return the current value of the restoreValues property.(Method of javax.jdo.Transaction)

 
api-jpa

joinTransaction()

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

 
api-jdo

getObjectId(pc)

The ObjectId returned by this method represents the JDO identity of the instance.(Method of javax.jdo.PersistenceManager)

 
forum_thread

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 ...

 
api-jdo

javax.jdo.listener.DirtyLifecycleListener

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

 
release

2.6.4

... 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 ...

 
forum_thread

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 ...