com.ibatis.db.dao
Interface DaoTransaction

All Known Implementing Classes:
JdbcDaoTransaction, SqlMapDaoTransaction

public interface DaoTransaction

DaoTransaction wraps specific connection or transaction implementation such that they can be effectively hidden from applications. This is a critical part of insulating the persistence mechanism from the application code.

Author:
clinton_begin

Method Summary
 void commit()
           
 void release()
           
 void rollback()
           
 

Method Detail

commit

void commit()
            throws DaoException
Throws:
DaoException

rollback

void rollback()
              throws DaoException
Throws:
DaoException

release

void release()
             throws DaoException
Throws:
DaoException