org.castor.persist
Class LocalTransactionContext
- TransactionContext
public final class LocalTransactionContext
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.
$Revision: 7085 $ $Date: 2006-04-13 10:49:49 -0600 (Thu, 13 Apr 2006) $
addTxSynchronizable , clearConnections , close , closeConnections , commit , commitConnections , connectionsIterator , create , createConnection , delete , expireCache , fetch , getClassLoader , getConnection , getConnectionInfo , getDatabase , getLockTimeout , getNamedQuery , getStatus , getTransactionTimeout , getWaitOnLock , isAutoStore , isCached , isCreated , isDeleted , isDeletedByOID , isDepended , isLocked , isOpen , isPersistent , isReadOnly , isRecorded , isUpdateCacheNeeded , isUpdatePersistNeeded , iterateReadWriteObjectsInTransaction , load , load , markCreate , markModified , markUpdate , prepare , query , removeTxSynchronizable , rollback , rollbackConnections , setAutoStore , setCallback , setInstanceFactory , setLockTimeout , setStatus , setTransactionTimeout , setWaitOnLock , update , writeLock |
LocalTransactionContext
public LocalTransactionContext(Database db)
Create a new transaction context.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com