Class SqlMapClientImplWrapper

  • All Implemented Interfaces:
    com.ibatis.sqlmap.client.SqlMapClient, com.ibatis.sqlmap.client.SqlMapExecutor, com.ibatis.sqlmap.client.SqlMapTransactionManager, com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient

    public class SqlMapClientImplWrapper
    extends com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
    • Constructor Detail

      • SqlMapClientImplWrapper

        public SqlMapClientImplWrapper​(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl raw)
    • Method Detail

      • setLocal

        public void setLocal​(String id,
                             com.ibatis.sqlmap.client.SqlMapExecutor executor)
      • openSession

        public com.ibatis.sqlmap.client.SqlMapSession openSession​(Connection conn)
        Specified by:
        openSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        openSession in interface com.ibatis.sqlmap.client.SqlMapClient
        Overrides:
        openSession in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
      • getSession

        public com.ibatis.sqlmap.client.SqlMapSession getSession()
        Specified by:
        getSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        getSession in interface com.ibatis.sqlmap.client.SqlMapClient
        Overrides:
        getSession in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
      • insert

        public Object insert​(String id,
                             Object param)
                      throws SQLException
        Specified by:
        insert in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        insert in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        insert in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • insert

        public Object insert​(String id)
                      throws SQLException
        Specified by:
        insert in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        insert in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        insert in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • update

        public int update​(String id,
                          Object param)
                   throws SQLException
        Specified by:
        update in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        update in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        update in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • update

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

        public int delete​(String id,
                          Object param)
                   throws SQLException
        Specified by:
        delete in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        delete in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        delete in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • delete

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

        public Object queryForObject​(String id,
                                     Object paramObject)
                              throws SQLException
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForObject in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForObject

        public Object queryForObject​(String id)
                              throws SQLException
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForObject in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForObject

        public Object queryForObject​(String id,
                                     Object paramObject,
                                     Object resultObject)
                              throws SQLException
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForObject in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForObject in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id,
                                 Object paramObject)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id,
                                 Object paramObject,
                                 int skip,
                                 int max)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForList

        public List queryForList​(String id,
                                 int skip,
                                 int max)
                          throws SQLException
        Specified by:
        queryForList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForPaginatedList

        public com.ibatis.common.util.PaginatedList queryForPaginatedList​(String id,
                                                                          Object paramObject,
                                                                          int pageSize)
                                                                   throws SQLException
        Deprecated.
        All paginated list features have been deprecated
        Specified by:
        queryForPaginatedList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForPaginatedList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForPaginatedList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForPaginatedList

        public com.ibatis.common.util.PaginatedList queryForPaginatedList​(String id,
                                                                          int pageSize)
                                                                   throws SQLException
        Deprecated.
        All paginated list features have been deprecated
        Specified by:
        queryForPaginatedList in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForPaginatedList in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForPaginatedList in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForMap

        public Map queryForMap​(String id,
                               Object paramObject,
                               String keyProp)
                        throws SQLException
        Specified by:
        queryForMap in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForMap in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForMap in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryForMap

        public Map queryForMap​(String id,
                               Object paramObject,
                               String keyProp,
                               String valueProp)
                        throws SQLException
        Specified by:
        queryForMap in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryForMap in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryForMap in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • queryWithRowHandler

        public void queryWithRowHandler​(String id,
                                        Object paramObject,
                                        com.ibatis.sqlmap.client.event.RowHandler rowHandler)
                                 throws SQLException
        Specified by:
        queryWithRowHandler in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryWithRowHandler in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryWithRowHandler in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        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.engine.impl.ExtendedSqlMapClient
        Specified by:
        queryWithRowHandler in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        queryWithRowHandler in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • startTransaction

        public void startTransaction()
                              throws SQLException
        Specified by:
        startTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
        Overrides:
        startTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • startTransaction

        public void startTransaction​(int transactionIsolation)
                              throws SQLException
        Specified by:
        startTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
        Overrides:
        startTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • commitTransaction

        public void commitTransaction()
                               throws SQLException
        Specified by:
        commitTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        commitTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
        Overrides:
        commitTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • endTransaction

        public void endTransaction()
                            throws SQLException
        Specified by:
        endTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        endTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
        Overrides:
        endTransaction in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • startBatch

        public void startBatch()
                        throws SQLException
        Specified by:
        startBatch in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        startBatch in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        startBatch in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • executeBatch

        public int executeBatch()
                         throws SQLException
        Specified by:
        executeBatch in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        executeBatch in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        executeBatch in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
      • executeBatchDetailed

        public List executeBatchDetailed()
                                  throws SQLException,
                                         com.ibatis.sqlmap.engine.execution.BatchException
        Specified by:
        executeBatchDetailed in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        executeBatchDetailed in interface com.ibatis.sqlmap.client.SqlMapExecutor
        Overrides:
        executeBatchDetailed in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException
        com.ibatis.sqlmap.engine.execution.BatchException
      • setUserConnection

        public void setUserConnection​(Connection connection)
                               throws SQLException
        Specified by:
        setUserConnection in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
        Specified by:
        setUserConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
        Overrides:
        setUserConnection in class com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
        Throws:
        SQLException