mybatis源码之StatementHandler

阅读 69

2022-08-26


/**
* @author Clinton Begin
*/
public interface StatementHandler {

Statement prepare(Connection connection)
throws SQLException;

void parameterize(Statement statement)
throws SQLException;

void batch(Statement statement)
throws SQLException;

int update(Statement statement)
throws SQLException;

<E> List<E> query(Statement statement, ResultHandler resultHandler)
throws SQLException;

BoundSql getBoundSql();

ParameterHandler getParameterHandler();

}


精彩评论(0)

0 0 举报