public class BatchExecutor extends BaseExecutor
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_UPDATE_RETURN_VALUE |
configuration, deferredLoads, localCache, localOutputParameterCache, queryStack, transaction, wrapper
NO_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) |
int |
doUpdate(MappedStatement ms,
Object parameterObject) |
clearLocalCache, close, closeStatement, commit, createCacheKey, deferLoad, flushStatements, flushStatements, getConnection, getTransaction, isCached, isClosed, query, query, rollback, setExecutorWrapper, update
public 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 BaseExecutor
SQLException
public <E> List<E> doQuery(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) throws SQLException
doQuery
in class BaseExecutor
SQLException
public List<BatchResult> doFlushStatements(boolean isRollback) throws SQLException
doFlushStatements
in class BaseExecutor
SQLException
Copyright © 2010–2015 MyBatis.org. All rights reserved.