Class SimpleStatementHandler
java.lang.Object
org.apache.ibatis.executor.statement.BaseStatementHandler
org.apache.ibatis.executor.statement.SimpleStatementHandler
- All Implemented Interfaces:
StatementHandler
- Author:
- Clinton Begin
-
Field Summary
Fields inherited from class org.apache.ibatis.executor.statement.BaseStatementHandler
boundSql, configuration, executor, mappedStatement, objectFactory, parameterHandler, resultSetHandler, rowBounds, typeHandlerRegistry
-
Constructor Summary
ConstructorDescriptionSimpleStatementHandler
(Executor executor, MappedStatement mappedStatement, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Statement
instantiateStatement
(Connection connection) void
parameterize
(Statement statement) <E> List<E>
query
(Statement statement, ResultHandler resultHandler) <E> Cursor<E>
queryCursor
(Statement statement) int
Methods inherited from class org.apache.ibatis.executor.statement.BaseStatementHandler
closeStatement, generateKeys, getBoundSql, getParameterHandler, prepare, setFetchSize, setStatementTimeout
-
Constructor Details
-
SimpleStatementHandler
public SimpleStatementHandler(Executor executor, MappedStatement mappedStatement, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
-
-
Method Details
-
update
- Throws:
SQLException
-
batch
- Throws:
SQLException
-
query
- Throws:
SQLException
-
queryCursor
- Throws:
SQLException
-
instantiateStatement
- Specified by:
instantiateStatement
in classBaseStatementHandler
- Throws:
SQLException
-
parameterize
-