com.ibatis.sqlmap.engine.transaction
Interface Transaction

All Known Implementing Classes:
ExternalTransaction, JdbcTransaction, JtaTransaction, UserProvidedTransaction

public interface Transaction


Method Summary
 void close()
           
 void commit()
           
 java.sql.Connection getConnection()
           
 void rollback()
           
 

Method Detail

commit

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

rollback

public void rollback()
              throws java.sql.SQLException,
                     TransactionException
Throws:
java.sql.SQLException
TransactionException

close

public void close()
           throws java.sql.SQLException,
                  TransactionException
Throws:
java.sql.SQLException
TransactionException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException,
                                         TransactionException
Throws:
java.sql.SQLException
TransactionException