org.apache.ibatis.transaction
Interface Transaction

All Known Implementing Classes:
JdbcTransaction, ManagedTransaction

public interface Transaction


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

Method Detail

getConnection

java.sql.Connection getConnection()

commit

void commit()
            throws java.sql.SQLException
Throws:
java.sql.SQLException

rollback

void rollback()
              throws java.sql.SQLException
Throws:
java.sql.SQLException

close

void close()
           throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2010 MyBatis.org. All Rights Reserved.