NO_RESULT_HANDLER
Constructor and Description |
---|
CachingExecutor(Executor delegate) |
Modifier and Type | Method and Description |
---|---|
void |
clearLocalCache() |
void |
close(boolean forceRollback) |
void |
commit(boolean required) |
CacheKey |
createCacheKey(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
BoundSql boundSql) |
void |
deferLoad(MappedStatement ms,
MetaObject resultObject,
String property,
CacheKey key,
Class<?> targetType) |
List<BatchResult> |
flushStatements() |
Transaction |
getTransaction() |
boolean |
isCached(MappedStatement ms,
CacheKey key) |
boolean |
isClosed() |
<E> List<E> |
query(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler) |
<E> List<E> |
query(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler,
CacheKey key,
BoundSql boundSql) |
void |
rollback(boolean required) |
void |
setExecutorWrapper(Executor executor) |
int |
update(MappedStatement ms,
Object parameterObject) |
public CachingExecutor(Executor delegate)
public Transaction getTransaction()
getTransaction
in interface Executor
public int update(MappedStatement ms, Object parameterObject) throws SQLException
update
in interface Executor
SQLException
public <E> List<E> query(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler) throws SQLException
query
in interface Executor
SQLException
public <E> List<E> query(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, CacheKey key, BoundSql boundSql) throws SQLException
query
in interface Executor
SQLException
public List<BatchResult> flushStatements() throws SQLException
flushStatements
in interface Executor
SQLException
public void commit(boolean required) throws SQLException
commit
in interface Executor
SQLException
public void rollback(boolean required) throws SQLException
rollback
in interface Executor
SQLException
public CacheKey createCacheKey(MappedStatement ms, Object parameterObject, RowBounds rowBounds, BoundSql boundSql)
createCacheKey
in interface Executor
public boolean isCached(MappedStatement ms, CacheKey key)
public void deferLoad(MappedStatement ms, MetaObject resultObject, String property, CacheKey key, Class<?> targetType)
public void clearLocalCache()
clearLocalCache
in interface Executor
public void setExecutorWrapper(Executor executor)
setExecutorWrapper
in interface Executor
Copyright © 2010–2015 MyBatis.org. All rights reserved.