public class SimpleStatementHandler extends BaseStatementHandler
boundSql, configuration, executor, mappedStatement, objectFactory, parameterHandler, resultSetHandler, rowBounds, typeHandlerRegistry| Constructor and Description |
|---|
SimpleStatementHandler(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) |
<E> Cursor<E> |
queryCursor(Statement statement) |
int |
update(Statement statement) |
closeStatement, generateKeys, getBoundSql, getParameterHandler, prepare, setFetchSize, setStatementTimeoutpublic SimpleStatementHandler(Executor executor, MappedStatement mappedStatement, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
public int update(Statement statement) throws SQLException
SQLExceptionpublic void batch(Statement statement) throws SQLException
SQLExceptionpublic <E> List<E> query(Statement statement, ResultHandler resultHandler) throws SQLException
SQLExceptionpublic <E> Cursor<E> queryCursor(Statement statement) throws SQLException
SQLExceptionprotected Statement instantiateStatement(Connection connection) throws SQLException
instantiateStatement in class BaseStatementHandlerSQLExceptionpublic void parameterize(Statement statement)
Copyright © 2009–2021 MyBatis.org. All rights reserved.