Class PreparedStatementHandler
java.lang.Object
org.apache.ibatis.executor.statement.BaseStatementHandler
org.apache.ibatis.executor.statement.PreparedStatementHandler
- 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
ConstructorsConstructorDescriptionPreparedStatementHandler(Executor executor, MappedStatement mappedStatement, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected StatementinstantiateStatement(Connection connection) voidparameterize(Statement statement) <E> List<E> query(Statement statement, ResultHandler resultHandler) <E> Cursor<E> queryCursor(Statement statement) intMethods inherited from class org.apache.ibatis.executor.statement.BaseStatementHandler
closeStatement, generateKeys, getBoundSql, getParameterHandler, prepare, setFetchSize, setStatementTimeout
-
Constructor Details
-
PreparedStatementHandler
public PreparedStatementHandler(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:
instantiateStatementin classBaseStatementHandler- Throws:
SQLException
-
parameterize
- Throws:
SQLException
-