public class MybatisExecutor extends Object implements org.apache.ibatis.executor.Executor
| 构造器和说明 |
|---|
MybatisExecutor(org.apache.ibatis.executor.Executor delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearLocalCache() |
void |
close(boolean forceRollback) |
void |
commit(boolean required) |
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) |
void |
deferLoad(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.reflection.MetaObject resultObject,
String property,
org.apache.ibatis.cache.CacheKey key,
Class<?> targetType) |
List<org.apache.ibatis.executor.BatchResult> |
flushStatements() |
org.apache.ibatis.transaction.Transaction |
getTransaction() |
boolean |
isBatchExecutor() |
boolean |
isCached(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.cache.CacheKey key) |
boolean |
isClosed() |
<E> List<E> |
query(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.session.ResultHandler resultHandler) |
<E> List<E> |
query(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.session.ResultHandler resultHandler,
org.apache.ibatis.cache.CacheKey cacheKey,
org.apache.ibatis.mapping.BoundSql boundSql) |
<E> org.apache.ibatis.cursor.Cursor<E> |
queryCursor(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter,
org.apache.ibatis.session.RowBounds rowBounds) |
void |
rollback(boolean required) |
void |
setExecutorWrapper(org.apache.ibatis.executor.Executor executor) |
int |
update(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter) |
public boolean isBatchExecutor()
public int update(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter)
throws SQLException
update 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic <E> List<E> query(org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.cache.CacheKey cacheKey, org.apache.ibatis.mapping.BoundSql boundSql) throws SQLException
query 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic <E> List<E> query(org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler) throws SQLException
query 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic <E> org.apache.ibatis.cursor.Cursor<E> queryCursor(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter,
org.apache.ibatis.session.RowBounds rowBounds)
throws SQLException
queryCursor 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic List<org.apache.ibatis.executor.BatchResult> flushStatements() throws SQLException
flushStatements 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic void commit(boolean required)
throws SQLException
commit 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic void rollback(boolean required)
throws SQLException
rollback 在接口中 org.apache.ibatis.executor.ExecutorSQLExceptionpublic 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.Executorpublic boolean isCached(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.cache.CacheKey key)
isCached 在接口中 org.apache.ibatis.executor.Executorpublic void clearLocalCache()
clearLocalCache 在接口中 org.apache.ibatis.executor.Executorpublic void deferLoad(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.reflection.MetaObject resultObject,
String property,
org.apache.ibatis.cache.CacheKey key,
Class<?> targetType)
deferLoad 在接口中 org.apache.ibatis.executor.Executorpublic org.apache.ibatis.transaction.Transaction getTransaction()
getTransaction 在接口中 org.apache.ibatis.executor.Executorpublic void close(boolean forceRollback)
close 在接口中 org.apache.ibatis.executor.Executorpublic boolean isClosed()
isClosed 在接口中 org.apache.ibatis.executor.Executorpublic void setExecutorWrapper(org.apache.ibatis.executor.Executor executor)
setExecutorWrapper 在接口中 org.apache.ibatis.executor.ExecutorCopyright © 2025. All rights reserved.