@Deprecated
public class MybatisCachingExecutor
extends java.lang.Object
implements org.apache.ibatis.executor.Executor
| 构造器和说明 |
|---|
MybatisCachingExecutor(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,
java.lang.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,
java.lang.String property,
org.apache.ibatis.cache.CacheKey key,
java.lang.Class<?> targetType)
已过时。
|
java.util.List<org.apache.ibatis.executor.BatchResult> |
flushStatements()
已过时。
|
protected org.apache.ibatis.cache.CacheKey |
getCountCacheKey(org.apache.ibatis.mapping.MappedStatement mappedStatement,
org.apache.ibatis.mapping.BoundSql boundSql,
java.lang.Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds)
已过时。
|
org.apache.ibatis.transaction.Transaction |
getTransaction()
已过时。
|
boolean |
isCached(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.cache.CacheKey key)
已过时。
|
boolean |
isClosed()
已过时。
|
<E> java.util.List<E> |
query(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.session.ResultHandler resultHandler)
已过时。
|
<E> java.util.List<E> |
query(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.session.ResultHandler resultHandler,
org.apache.ibatis.cache.CacheKey key,
org.apache.ibatis.mapping.BoundSql boundSql)
已过时。
|
<E> org.apache.ibatis.cursor.Cursor<E> |
queryCursor(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.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,
java.lang.Object parameterObject)
已过时。
|
public MybatisCachingExecutor(org.apache.ibatis.executor.Executor delegate)
public 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 int update(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.Object parameterObject)
throws java.sql.SQLException
update 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionpublic <E> java.util.List<E> query(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.session.ResultHandler resultHandler)
throws java.sql.SQLException
query 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionpublic <E> org.apache.ibatis.cursor.Cursor<E> queryCursor(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.Object parameter,
org.apache.ibatis.session.RowBounds rowBounds)
throws java.sql.SQLException
queryCursor 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionpublic <E> java.util.List<E> query(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.session.ResultHandler resultHandler,
org.apache.ibatis.cache.CacheKey key,
org.apache.ibatis.mapping.BoundSql boundSql)
throws java.sql.SQLException
query 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionprotected org.apache.ibatis.cache.CacheKey getCountCacheKey(org.apache.ibatis.mapping.MappedStatement mappedStatement,
org.apache.ibatis.mapping.BoundSql boundSql,
java.lang.Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds)
public java.util.List<org.apache.ibatis.executor.BatchResult> flushStatements()
throws java.sql.SQLException
flushStatements 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionpublic void commit(boolean required)
throws java.sql.SQLException
commit 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionpublic void rollback(boolean required)
throws java.sql.SQLException
rollback 在接口中 org.apache.ibatis.executor.Executorjava.sql.SQLExceptionpublic org.apache.ibatis.cache.CacheKey createCacheKey(org.apache.ibatis.mapping.MappedStatement ms,
java.lang.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 deferLoad(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.reflection.MetaObject resultObject,
java.lang.String property,
org.apache.ibatis.cache.CacheKey key,
java.lang.Class<?> targetType)
deferLoad 在接口中 org.apache.ibatis.executor.Executorpublic void clearLocalCache()
clearLocalCache 在接口中 org.apache.ibatis.executor.Executorpublic void setExecutorWrapper(org.apache.ibatis.executor.Executor executor)
setExecutorWrapper 在接口中 org.apache.ibatis.executor.Executor