org.apache.ibatis.executor
Class ReuseExecutor

java.lang.Object
  extended by org.apache.ibatis.executor.BaseExecutor
      extended by org.apache.ibatis.executor.ReuseExecutor
All Implemented Interfaces:
Executor

public class ReuseExecutor
extends BaseExecutor


Field Summary
 
Fields inherited from class org.apache.ibatis.executor.BaseExecutor
batchResults, configuration, deferredLoads, localCache, queryStack, transaction
 
Fields inherited from interface org.apache.ibatis.executor.Executor
NO_RESULT_HANDLER
 
Constructor Summary
ReuseExecutor(Configuration configuration, Transaction transaction)
           
 
Method Summary
 java.util.List doFlushStatements()
           
 java.util.List doQuery(MappedStatement ms, java.lang.Object parameter, RowBounds rowBounds, ResultHandler resultHandler)
           
 int doUpdate(MappedStatement ms, java.lang.Object parameter)
           
 
Methods inherited from class org.apache.ibatis.executor.BaseExecutor
clearLocalCache, close, closeStatement, commit, createCacheKey, deferLoad, flushStatements, getTransaction, isCached, isClosed, query, rollback, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReuseExecutor

public ReuseExecutor(Configuration configuration,
                     Transaction transaction)
Method Detail

doUpdate

public int doUpdate(MappedStatement ms,
                    java.lang.Object parameter)
             throws java.sql.SQLException
Specified by:
doUpdate in class BaseExecutor
Throws:
java.sql.SQLException

doQuery

public java.util.List doQuery(MappedStatement ms,
                              java.lang.Object parameter,
                              RowBounds rowBounds,
                              ResultHandler resultHandler)
                       throws java.sql.SQLException
Specified by:
doQuery in class BaseExecutor
Throws:
java.sql.SQLException

doFlushStatements

public java.util.List doFlushStatements()
                                 throws java.sql.SQLException
Specified by:
doFlushStatements in class BaseExecutor
Throws:
java.sql.SQLException


Copyright © 2010. All Rights Reserved.