com.ibatis.sqlmap.engine.transaction
Class TransactionManager

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.transaction.TransactionManager

public class TransactionManager
extends java.lang.Object


Constructor Summary
TransactionManager(TransactionConfig transactionConfig)
           
 
Method Summary
 void begin(SessionScope session)
           
 void begin(SessionScope session, int transactionIsolation)
           
 void commit(SessionScope session)
           
 void end(SessionScope session)
           
 javax.sql.DataSource getDataSource()
           
 boolean isForceCommit()
           
 void setDataSource(javax.sql.DataSource ds)
           
 void setForceCommit(boolean forceCommit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManager

public TransactionManager(TransactionConfig transactionConfig)
Method Detail

begin

public void begin(SessionScope session)
           throws java.sql.SQLException,
                  TransactionException
Throws:
java.sql.SQLException
TransactionException

begin

public void begin(SessionScope session,
                  int transactionIsolation)
           throws java.sql.SQLException,
                  TransactionException
Throws:
java.sql.SQLException
TransactionException

commit

public void commit(SessionScope session)
            throws java.sql.SQLException,
                   TransactionException
Throws:
java.sql.SQLException
TransactionException

end

public void end(SessionScope session)
         throws java.sql.SQLException,
                TransactionException
Throws:
java.sql.SQLException
TransactionException

getDataSource

public javax.sql.DataSource getDataSource()

setDataSource

public void setDataSource(javax.sql.DataSource ds)

isForceCommit

public boolean isForceCommit()

setForceCommit

public void setForceCommit(boolean forceCommit)