org.apache.ibatis.executor.statement
Class CallableStatementHandler

java.lang.Object
  extended by org.apache.ibatis.executor.statement.BaseStatementHandler
      extended by org.apache.ibatis.executor.statement.CallableStatementHandler
All Implemented Interfaces:
StatementHandler

public class CallableStatementHandler
extends BaseStatementHandler


Field Summary
 
Fields inherited from class org.apache.ibatis.executor.statement.BaseStatementHandler
boundSql, configuration, executor, mappedStatement, objectFactory, parameterHandler, resultSetHandler, rowBounds, typeHandlerRegistry
 
Constructor Summary
CallableStatementHandler(Executor executor, MappedStatement mappedStatement, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
           
 
Method Summary
 void batch(Statement statement)
           
protected  Statement instantiateStatement(Connection connection)
           
 void parameterize(Statement statement)
           
<E> List<E>
query(Statement statement, ResultHandler resultHandler)
           
 int update(Statement statement)
           
 
Methods inherited from class org.apache.ibatis.executor.statement.BaseStatementHandler
closeStatement, generateKeys, getBoundSql, getParameterHandler, prepare, setFetchSize, setStatementTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallableStatementHandler

public CallableStatementHandler(Executor executor,
                                MappedStatement mappedStatement,
                                Object parameter,
                                RowBounds rowBounds,
                                ResultHandler resultHandler,
                                BoundSql boundSql)
Method Detail

update

public int update(Statement statement)
           throws SQLException
Throws:
SQLException

batch

public void batch(Statement statement)
           throws SQLException
Throws:
SQLException

query

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

instantiateStatement

protected Statement instantiateStatement(Connection connection)
                                  throws SQLException
Specified by:
instantiateStatement in class BaseStatementHandler
Throws:
SQLException

parameterize

public void parameterize(Statement statement)
                  throws SQLException
Throws:
SQLException


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