public class FlexBatchExecutor extends org.apache.ibatis.executor.BatchExecutor implements CacheKeyBuilder
| 限定符和类型 | 字段和说明 |
|---|---|
private List<org.apache.ibatis.executor.BatchResult> |
batchResultList |
private String |
currentSql |
private org.apache.ibatis.mapping.MappedStatement |
currentStatement |
private List<Statement> |
statementList |
| 构造器和说明 |
|---|
FlexBatchExecutor(org.apache.ibatis.session.Configuration configuration,
org.apache.ibatis.transaction.Transaction transaction) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.cache.CacheKey |
createCacheKey(org.apache.ibatis.mapping.MappedStatement ms,
Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.mapping.BoundSql boundSql) |
List<org.apache.ibatis.executor.BatchResult> |
doFlushStatements(boolean isRollback) |
int |
doUpdate(org.apache.ibatis.mapping.MappedStatement ms,
Object parameterObject) |
applyTransactionTimeout, clearLocalCache, close, closeStatement, commit, deferLoad, flushStatements, flushStatements, getConnection, getTransaction, isCached, isClosed, query, query, queryCursor, rollback, setExecutorWrapper, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildCacheKeyprivate final List<Statement> statementList
private final List<org.apache.ibatis.executor.BatchResult> batchResultList
private String currentSql
private org.apache.ibatis.mapping.MappedStatement currentStatement
public FlexBatchExecutor(org.apache.ibatis.session.Configuration configuration, org.apache.ibatis.transaction.Transaction transaction)
public org.apache.ibatis.cache.CacheKey createCacheKey(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.mapping.BoundSql boundSql)
createCacheKey 在接口中 org.apache.ibatis.executor.ExecutorcreateCacheKey 在类中 org.apache.ibatis.executor.BaseExecutorpublic int doUpdate(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject) throws SQLException
doUpdate 在类中 org.apache.ibatis.executor.BatchExecutorSQLExceptionpublic List<org.apache.ibatis.executor.BatchResult> doFlushStatements(boolean isRollback) throws SQLException
doFlushStatements 在类中 org.apache.ibatis.executor.BatchExecutorSQLExceptionCopyright © 2023. All rights reserved.