org.exolab.castor.jdo.engine
Class TransactionContextImpl
(package private) final class TransactionContextImpl
A transaction context is required in order to perform operations
against the database. The transaction context is mapped to javax.transaction.Transaction
for the ODMG API and into
javax.transaction.xa.XAResource
for XA databases. The only
way to begin a new transaction is through the creation of a new
transaction context. All database access must be performed through
a transaction context.
Version:
- Assaf Arkin
addObjectEntry , addTxSynchronizable , close , closeConnections , commit , commitConnections , create , delete , fetch , getClassLoader , getConnection , getDatabase , getIdentity , getLockTimeout , getObjectEntry , getObjectEntry , getObjectState , getReadOnlyObjectEntry , getScope , getStatus , getTransactionTimeout , getWaitOnLock , getXid , isAutoStore , isDeleted , isDeletedByOID , isDepended , isOpen , isPersistent , isReadOnly , isRecorded , load , load , makeReadOnly , markCreate , markDelete , markModified , markUpdate , prepare , query , query , rehash , release , removeObjectEntry , removeTxSynchronizable , rollback , rollbackConnections , setAutoStore , setCallback , setInstanceFactory , setLockTimeout , setTransactionTimeout , setWaitOnLock , softLock , toDatabaseAccessMode , txcommitted , txrolledback , update , writeLock |
TransactionContextImpl
public TransactionContextImpl(Database db,
boolean globalTx)
Create a new transaction context.
rollbackConnections
protected void rollbackConnections()
- rollbackConnections in interface TransactionContext
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com