About @Transactional

release

2.6.6

Release date: 2016-01-27 Download (5.53 MB) Binary:  objectdb-2.6.6.zip Version 2.6.6 Added support of automatic activation of ...

 
issue

Unexpected exception (Error 990)

Exception is thrown on commiting a transaction using this code: transaction.begin(); try { repository.setStatus(ImportStatusFlag.RUNNING_IMPORT); repository.setImportProgressMessage("Importing..."); //$NON-NLS-1$ repository.setImportProgressPercent(0); transaction.commit(); } finally { if (transaction.isActive()) { transaction.rollback(); } } "repository" is a Entity in database. Stracktrace as follows:   Bug Version: 2.5.1 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
api-jdo

flush()

Flushes all dirty, new, and deleted instances to the data store.(Method of javax.jdo.PersistenceManager)

 
api-jdo

getOptimistic()

Optimistic transactions do not hold data store locks until commit time.(Method of javax.jdo.Transaction)

 
api-jdo

getSynchronization()

The user-specified Synchronization instance for this Transaction instance.(Method of javax.jdo.Transaction)

 
api-jdo

setOptimistic(optimistic)

Optimistic transactions do not hold data store locks until commit time.(Method of javax.jdo.Transaction)

 
api-jdo

getNontransactionalWrite()

If true, allows persistent instances to be written without a transaction active.(Method of javax.jdo.Transaction)

 
api-jdo

getDataStoreConnection()

If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction.(Method of javax.jdo.PersistenceManager)

 
forum_thread

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

Hello, I have a class TherapeauticDrugScreenRqst with two other nested subclasses - all using Groovy. My first attempt to persist TherapeauticDrugScreenRqst to Objectdb 2.2.8 is successfully. However, although my method to store the method is shown below: #1 2011-07-07 19:57 Hello, I have a class TherapeauticDrugScreenRqst with two other nested subclasses - all using Groovy. ...

 
api-jdo

setNontransactionalWrite(nontransactionalWrite)

If true, allow persistent instances to be written without a transaction active.(Method of javax.jdo.Transaction)