Package org.apache.ibatis.executor
Class BatchExecutor
java.lang.Object
org.apache.ibatis.executor.BaseExecutor
org.apache.ibatis.executor.BatchExecutor
- All Implemented Interfaces:
Executor
- Author:
- Jeff Butler
-
Field Summary
FieldsFields inherited from class org.apache.ibatis.executor.BaseExecutor
configuration, deferredLoads, localCache, localOutputParameterCache, queryStack, transaction, wrapperFields inherited from interface org.apache.ibatis.executor.Executor
NO_RESULT_HANDLER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoFlushStatements(boolean isRollback) <E> List<E> doQuery(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) protected <E> Cursor<E> doQueryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds, BoundSql boundSql) intdoUpdate(MappedStatement ms, Object parameterObject) Methods inherited from class org.apache.ibatis.executor.BaseExecutor
applyTransactionTimeout, clearLocalCache, close, closeStatement, commit, createCacheKey, deferLoad, flushStatements, flushStatements, getConnection, getTransaction, isCached, isClosed, query, query, queryCursor, rollback, setExecutorWrapper, update
-
Field Details
-
BATCH_UPDATE_RETURN_VALUE
public static final int BATCH_UPDATE_RETURN_VALUE- See Also:
-
-
Constructor Details
-
BatchExecutor
-
-
Method Details
-
doUpdate
- Specified by:
doUpdatein classBaseExecutor- Throws:
SQLException
-
doQuery
public <E> List<E> doQuery(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) throws SQLException - Specified by:
doQueryin classBaseExecutor- Throws:
SQLException
-
doQueryCursor
protected <E> Cursor<E> doQueryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds, BoundSql boundSql) throws SQLException - Specified by:
doQueryCursorin classBaseExecutor- Throws:
SQLException
-
doFlushStatements
- Specified by:
doFlushStatementsin classBaseExecutor- Throws:
SQLException
-