Interface Executor

    • Field Detail

      • NO_RESULT_HANDLER

        static final ResultHandler NO_RESULT_HANDLER
    • Method Detail

      • update

        int update​(MappedStatement ms,
                   java.lang.Object parameter)
            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • query

        <E> java.util.List<E> query​(MappedStatement ms,
                                    java.lang.Object parameter,
                                    RowBounds rowBounds,
                                    ResultHandler resultHandler)
                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • queryCursor

        <E> Cursor<E> queryCursor​(MappedStatement ms,
                                  java.lang.Object parameter,
                                  RowBounds rowBounds)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • flushStatements

        java.util.List<BatchResult> flushStatements()
                                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • commit

        void commit​(boolean required)
             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • rollback

        void rollback​(boolean required)
               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • clearLocalCache

        void clearLocalCache()
      • close

        void close​(boolean forceRollback)
      • isClosed

        boolean isClosed()
      • setExecutorWrapper

        void setExecutorWrapper​(Executor executor)