org.apache.ibatis.executor.statement
Interface StatementHandler

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

public interface StatementHandler


Method Summary
 void batch(java.sql.Statement statement)
           
 BoundSql getBoundSql()
           
 ParameterHandler getParameterHandler()
           
 void parameterize(java.sql.Statement statement)
           
 java.sql.Statement prepare(java.sql.Connection connection)
           
 java.util.List query(java.sql.Statement statement, ResultHandler resultHandler)
           
 int update(java.sql.Statement statement)
           
 

Method Detail

prepare

java.sql.Statement prepare(java.sql.Connection connection)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

parameterize

void parameterize(java.sql.Statement statement)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

batch

void batch(java.sql.Statement statement)
           throws java.sql.SQLException
Throws:
java.sql.SQLException

update

int update(java.sql.Statement statement)
           throws java.sql.SQLException
Throws:
java.sql.SQLException

query

java.util.List query(java.sql.Statement statement,
                     ResultHandler resultHandler)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getBoundSql

BoundSql getBoundSql()

getParameterHandler

ParameterHandler getParameterHandler()


Copyright © 2010 MyBatis.org. All Rights Reserved.