org.apache.ibatis.executor
Class BatchExecutor
java.lang.Object
org.apache.ibatis.executor.BaseExecutor
org.apache.ibatis.executor.BatchExecutor
- All Implemented Interfaces:
- Executor
public class BatchExecutor
- extends BaseExecutor
Methods inherited from class org.apache.ibatis.executor.BaseExecutor |
clearLocalCache, close, closeStatement, commit, createCacheKey, deferLoad, flushStatements, flushStatements, getConnection, getTransaction, isCached, isClosed, query, query, rollback, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BATCH_UPDATE_RETURN_VALUE
public static final int BATCH_UPDATE_RETURN_VALUE
- See Also:
- Constant Field Values
BatchExecutor
public BatchExecutor(Configuration configuration,
Transaction transaction)
doUpdate
public int doUpdate(MappedStatement ms,
Object parameterObject)
throws SQLException
- Specified by:
doUpdate
in class BaseExecutor
- Throws:
SQLException
doQuery
public <E> List<E> doQuery(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql)
throws SQLException
- Specified by:
doQuery
in class BaseExecutor
- Throws:
SQLException
doFlushStatements
public List<BatchResult> doFlushStatements(boolean isRollback)
throws SQLException
- Specified by:
doFlushStatements
in class BaseExecutor
- Throws:
SQLException
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.