com.ibatis.sqlmap.engine.transaction
Class TransactionManager
java.lang.Object
com.ibatis.sqlmap.engine.transaction.TransactionManager
- public class TransactionManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionManager
public TransactionManager(TransactionConfig transactionConfig)
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)