About @Transactional

forum_thread

Remove not working

Hello! We have a strange problem. #1 2015-12-15 17:14 Hello! We have a strange problem. Caused by: com.objectdb.o._EntityNotFoundException: Entity is not ...

 
forum_thread

Rollback after commit fail

Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: Thread 1: try{ EntityManager em = emf.createEntityManager(); em.getTransaction.begin() persist object1 em.getTransaction().commit(); } catch(...){ em.getTransaction().rollback(); }   Thread 2: #1 2013-08-13 13:00 Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: ...

 
forum_thread

First persist takes long time

We detected that the first Persist() of an entity take much longer than all subsequent calls. We have a small example (see Appendix) which outputs the following times: #1 2015-12-15 14:25 We detected that the first Persist() of an entity take much longer than all subsequent calls. We have a s ...

 
api-jdo

isActive()

Returns whether there is a transaction currently active.(Method of javax.jdo.Transaction)

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej #1 2011-09-19 19:15 Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does Objec ...

 
api-jdo

getRollbackOnly()

Returns the rollback-only status of the transaction.(Method of javax.jdo.Transaction)

 
api-jdo

isTransactional(pc)

Tests whether this object is transactional.(Method of javax.jdo.spi.StateManager)

 
api-jdo

getPersistenceManager()

The Transaction instance is always associated with exactly one PersistenceManager.(Method of javax.jdo.Transaction)

 
api-jdo

javax.jdo.annotations.Transactional

Annotation to indicate that a member (field or property) is transactional but not persistent.(Annotation of JDO)

 
api-jdo

setRestoreValues(restoreValues)

If true, at rollback, fields of newly persistent instances are restored to their values as of the beginning of the transaction, and the instances revert to transient.(Method of javax.jdo.Transaction)