Home » Search

About Transaction

161-170 of 200Refresh
Forum
3

OutofMemory error with Object DB 2.0

and inserts 200 records at a time. The transaction obtained from the PersistentManager is commited after persisting 200 records and then the same transaction object from the same PersistentManager is used to begin the transaction. With objectdb 2.x do we need to close the PersistentManager
Forum
3

Mismatch client-server protocol prefix

) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit ... . This is the code which raises the Exception: @Transactional     @Override     public ... other nice exceptions: @Transactional     @Override     public Unit findByName(String unitName) throws
Forum
3

Unexpected NoSuchFieldError exception

.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction while another transaction is running ... .transact(ObjectDbDatabase.groovy:82) at app.framework.Database$transact.call(Unknown Source) at org ... .call(AbstractCallSite.java:117) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase.groovy:82
JPA Doc
3

close()

is associated with an active transaction, the persistence context remains managed until the transaction completes. Throws: IllegalStateException - if the entity manager is container-managed Since: JPA 1.0
JDO Doc
3

Constants.JTA

Static Field javax.jdo.Constants String JTA The value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220. Since: JDO 2.1
JDO Doc
3

Constants.RESOURCE_LOCAL

Static Field javax.jdo.Constants String RESOURCE_LOCAL The value for TransactionType to specify that transactions are managed by the javax.jdo.Transaction instance, similar to the usage as documented in JSR-220. Since: JDO 2.1
JDO Doc
3

Constants.TX_READ_COMMITTED

Static Field javax.jdo.Constants String TX_READ_COMMITTED Transaction isolation level representing the requirement to read committed data only. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JDO Doc
3

Constants.TX_READ_UNCOMMITTED

Static Field javax.jdo.Constants String TX_READ_UNCOMMITTED Transaction isolation level representing the ability to read uncommitted data. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JDO Doc
3

Constants.TX_SNAPSHOT

Static Field javax.jdo.Constants String TX_SNAPSHOT Transaction isolation level representing the requirement to keep a snapshot for reading data. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JDO Doc
3

deletePersistent(pc)

Method javax.jdo.PersistenceManager void deletePersistent(   Object pc ) Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object ... if the instance is already deleted in the current transaction. This method throws JDOUserException