public class CallableStatementHandler extends BaseStatementHandler
boundSql, configuration, executor, mappedStatement, objectFactory, parameterHandler, resultSetHandler, rowBounds, typeHandlerRegistry
Constructor and Description |
---|
CallableStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
Modifier and Type | Method and Description |
---|---|
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) |
closeStatement, generateKeys, getBoundSql, getParameterHandler, prepare, setFetchSize, setStatementTimeout
public CallableStatementHandler(Executor executor, MappedStatement mappedStatement, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
public int update(Statement statement) throws SQLException
SQLException
public void batch(Statement statement) throws SQLException
SQLException
public <E> List<E> query(Statement statement, ResultHandler resultHandler) throws SQLException
SQLException
protected Statement instantiateStatement(Connection connection) throws SQLException
instantiateStatement
in class BaseStatementHandler
SQLException
public void parameterize(Statement statement) throws SQLException
SQLException
Copyright © 2010–2015 MyBatis.org. All rights reserved.