Class SqlMapExecutorWrapper

  • All Implemented Interfaces:
    com.ibatis.sqlmap.client.SqlMapExecutor
    Direct Known Subclasses:
    SqlMapClientWrapper, SqlMapSessionWrapper

    public class SqlMapExecutorWrapper
    extends Object
    implements com.ibatis.sqlmap.client.SqlMapExecutor
    • Field Detail

      • clientImpl

        protected final com.ibatis.sqlmap.engine.impl.SqlMapClientImpl clientImpl
    • Constructor Detail

      • SqlMapExecutorWrapper

        public SqlMapExecutorWrapper​(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client,
                                     com.ibatis.sqlmap.client.SqlMapExecutor executor)
    • Method Detail

      • update

        public int update​(String id,
                          Object parameterObject)
                   throws SQLException
        Specified by:
        update in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • update

        public int update​(String id)
                   throws SQLException
        Specified by:
        update in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • delete

        public int delete​(String id,
                          Object parameterObject)
                   throws SQLException
        Specified by:
        delete in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • delete

        public int delete​(String id)
                   throws SQLException
        Specified by:
        delete in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForObject

        public Object queryForObject​(String id,
                                     Object parameterObject)
                              throws SQLException
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForObject

        public Object queryForObject​(String id)
                              throws SQLException
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id,
                                 Object parameterObject)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id,
                                 Object parameterObject,
                                 int skip,
                                 int max)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id,
                                 int skip,
                                 int max)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryWithRowHandler

        public void queryWithRowHandler​(String id,
                                        Object parameterObject,
                                        com.ibatis.sqlmap.client.event.RowHandler rowHandler)
                                 throws SQLException
        Specified by:
        queryWithRowHandler in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryWithRowHandler

        public void queryWithRowHandler​(String id,
                                        com.ibatis.sqlmap.client.event.RowHandler rowHandler)
                                 throws SQLException
        Specified by:
        queryWithRowHandler in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForPaginatedList

        public com.ibatis.common.util.PaginatedList queryForPaginatedList​(String id,
                                                                          Object parameterObject,
                                                                          int pageSize)
                                                                   throws SQLException
        Specified by:
        queryForPaginatedList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • queryForPaginatedList

        public com.ibatis.common.util.PaginatedList queryForPaginatedList​(String id,
                                                                          int pageSize)
                                                                   throws SQLException
        Specified by:
        queryForPaginatedList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • startBatch

        public void startBatch()
                        throws SQLException
        Specified by:
        startBatch in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • executeBatch

        public int executeBatch()
                         throws SQLException
        Specified by:
        executeBatch in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
      • executeBatchDetailed

        public List executeBatchDetailed()
                                  throws SQLException,
                                         com.ibatis.sqlmap.engine.execution.BatchException
        Specified by:
        executeBatchDetailed in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Throws:
        SQLException
        com.ibatis.sqlmap.engine.execution.BatchException