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