public class BatchExecutor extends BaseExecutor
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_UPDATE_RETURN_VALUE |
configuration, deferredLoads, localCache, localOutputParameterCache, queryStack, transaction, wrapperNO_RESULT_HANDLER| Constructor and Description |
|---|
BatchExecutor(Configuration configuration,
Transaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
List<BatchResult> |
doFlushStatements(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) |
int |
doUpdate(MappedStatement ms,
Object parameterObject) |
applyTransactionTimeout, clearLocalCache, close, closeStatement, commit, createCacheKey, deferLoad, flushStatements, flushStatements, getConnection, getTransaction, isCached, isClosed, query, query, queryCursor, rollback, setExecutorWrapper, updatepublic static final int BATCH_UPDATE_RETURN_VALUE
public BatchExecutor(Configuration configuration, Transaction transaction)
public int doUpdate(MappedStatement ms, Object parameterObject) throws SQLException
doUpdate in class BaseExecutorSQLExceptionpublic <E> List<E> doQuery(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) throws SQLException
doQuery in class BaseExecutorSQLExceptionprotected <E> Cursor<E> doQueryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds, BoundSql boundSql) throws SQLException
doQueryCursor in class BaseExecutorSQLExceptionpublic List<BatchResult> doFlushStatements(boolean isRollback) throws SQLException
doFlushStatements in class BaseExecutorSQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.