org.exolab.castor.jdo.engine
final class TransactionContextImpl extends TransactionContext
Version: $Revision: 1.14 $ $Date: 2005/07/24 17:48:18 $
| Constructor Summary | |
|---|---|
| TransactionContextImpl(Database db, boolean globalTx)
Create a new transaction context. | |
| TransactionContextImpl(Database db, boolean globalTx, Transaction transaction)
Create a new transaction context. | |
| Method Summary | |
|---|---|
| protected void | closeConnections() |
| protected void | commitConnections() |
| Connection | getConnection(LockEngine engine) |
| DbMetaInfo | getConnectionInfo(LockEngine engine) |
| protected void | rollbackConnections() |
Parameters: db Database instance globalTx Indicates whether we run as part of a global transaction. transaction A JTA Transasction instance.
Returns: DbMetaInfo object with database connection information