|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use TransactionNotInProgressException | |
| org.exolab.castor.jdo | The Java Data Objects API
Version: $Revision: 6216 $ $Date: 2005-04-21 14:21:10 -0600 (Thu, 21 Apr 2005) $
Author: Assaf Arkin
The class JDOManager provides the Castor JDO engine used for
obtaining a database connection. |
| org.exolab.castor.jdo.engine | Implementation of the Castor JDO engine. |
| Uses of TransactionNotInProgressException in org.exolab.castor.jdo |
| Methods in org.exolab.castor.jdo that throw TransactionNotInProgressException | |
void |
Database.commit()
Commits and closes the transaction. |
void |
Database.rollback()
Rolls back and closes the transaction. |
| Uses of TransactionNotInProgressException in org.exolab.castor.jdo.engine |
| Methods in org.exolab.castor.jdo.engine that throw TransactionNotInProgressException | |
protected TransactionContext |
AbstractDatabaseImpl.getTransaction()
Returns the currently active transaction, if any. |
abstract void |
AbstractDatabaseImpl.commit()
Commits and closes the transaction. All changes made to persistent objects during the transaction are made persistent; objects created during the transaction are made durable; and, objects removed during the transaction are removed from the database. In other words, any modifications to any data objects which are queried/loaded/created/update to this database is automatically stored to the database and visible to subsequence transactions. (ie. update is solely used for long transaction support and should not be called for any data object queried/loaded/created in the this transaction.)
If the transaction cannot commit, the entire transaction rolls
back and a
After this method returns, the transaction is closed and all
persistent objects are transient. Using |
abstract void |
AbstractDatabaseImpl.rollback()
Rolls back and closes the transaction. All changes made to persistent objects during the transaction are lost, objects created during the transaction are not made durable and objects removed during the transaction continue to exist. |
TransactionContext |
AbstractDatabaseImpl.getCurrentTransaction()
Gets the current Castor transaction in use. |
void |
GlobalDatabaseImpl.commit()
|
void |
GlobalDatabaseImpl.rollback()
|
void |
LocalDatabaseImpl.commit()
|
void |
LocalDatabaseImpl.rollback()
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||