org.apache.ibatis.executor.statement
Interface StatementHandler

All Known Implementing Classes:
BaseStatementHandler, CallableStatementHandler, PreparedStatementHandler, RoutingStatementHandler, SimpleStatementHandler

public interface StatementHandler


Method Summary
 void batch(Statement statement)
           
 BoundSql getBoundSql()
           
 ParameterHandler getParameterHandler()
           
 void parameterize(Statement statement)
           
 Statement prepare(Connection connection)
           
<E> List<E>
query(Statement statement, ResultHandler resultHandler)
           
 int update(Statement statement)
           
 

Method Detail

prepare

Statement prepare(Connection connection)
                  throws SQLException
Throws:
SQLException

parameterize

void parameterize(Statement statement)
                  throws SQLException
Throws:
SQLException

batch

void batch(Statement statement)
           throws SQLException
Throws:
SQLException

update

int update(Statement statement)
           throws SQLException
Throws:
SQLException

query

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

getBoundSql

BoundSql getBoundSql()

getParameterHandler

ParameterHandler getParameterHandler()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.