Search in sources :

Example 1 with SqlMapClientImpl

use of com.ibatis.sqlmap.engine.impl.SqlMapClientImpl in project pinpoint by naver.

the class SqlMapClientIT method queryForPaginagedListShouldBeTraced.

@Test
public void queryForPaginagedListShouldBeTraced() throws Exception {
    SqlMapClient sqlMapClient = new SqlMapClientImpl(super.mockSqlMapExecutorDelegate);
    super.testAndVerifyQueryForPaginatedList(sqlMapClient);
}
Also used : SqlMapClientImpl(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl) SqlMapClient(com.ibatis.sqlmap.client.SqlMapClient) Test(org.junit.Test)

Example 2 with SqlMapClientImpl

use of com.ibatis.sqlmap.engine.impl.SqlMapClientImpl in project pinpoint by naver.

the class SqlMapClientIT method insertShouldBeTraced.

@Test
public void insertShouldBeTraced() throws Exception {
    SqlMapClient sqlMapClient = new SqlMapClientImpl(super.mockSqlMapExecutorDelegate);
    super.testAndVerifyInsert(sqlMapClient);
}
Also used : SqlMapClientImpl(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl) SqlMapClient(com.ibatis.sqlmap.client.SqlMapClient) Test(org.junit.Test)

Example 3 with SqlMapClientImpl

use of com.ibatis.sqlmap.engine.impl.SqlMapClientImpl in project pinpoint by naver.

the class SqlMapClientIT method queryForListShouldBeTraced.

@Test
public void queryForListShouldBeTraced() throws Exception {
    SqlMapClient sqlMapClient = new SqlMapClientImpl(super.mockSqlMapExecutorDelegate);
    super.testAndVerifyQueryForList(sqlMapClient);
}
Also used : SqlMapClientImpl(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl) SqlMapClient(com.ibatis.sqlmap.client.SqlMapClient) Test(org.junit.Test)

Example 4 with SqlMapClientImpl

use of com.ibatis.sqlmap.engine.impl.SqlMapClientImpl in project pinpoint by naver.

the class SqlMapClientIT method queryForMapShouldBeTraced.

@Test
public void queryForMapShouldBeTraced() throws Exception {
    SqlMapClient sqlMapClient = new SqlMapClientImpl(super.mockSqlMapExecutorDelegate);
    super.testAndVerifyQueryForMap(sqlMapClient);
}
Also used : SqlMapClientImpl(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl) SqlMapClient(com.ibatis.sqlmap.client.SqlMapClient) Test(org.junit.Test)

Example 5 with SqlMapClientImpl

use of com.ibatis.sqlmap.engine.impl.SqlMapClientImpl in project pinpoint by naver.

the class SqlMapClientIT method queryForObjectShouldBeTraced.

@Test
public void queryForObjectShouldBeTraced() throws Exception {
    SqlMapClient sqlMapClient = new SqlMapClientImpl(super.mockSqlMapExecutorDelegate);
    super.testAndVerifyQueryForObject(sqlMapClient);
}
Also used : SqlMapClientImpl(com.ibatis.sqlmap.engine.impl.SqlMapClientImpl) SqlMapClient(com.ibatis.sqlmap.client.SqlMapClient) Test(org.junit.Test)

Aggregations

SqlMapClientImpl (com.ibatis.sqlmap.engine.impl.SqlMapClientImpl)15 SqlMapClient (com.ibatis.sqlmap.client.SqlMapClient)8 Test (org.junit.Test)8 User (com.alibaba.druid.spring.User)2 SqlMapClientWrapper (com.alibaba.druid.support.ibatis.SqlMapClientWrapper)2 RowHandler (com.ibatis.sqlmap.client.event.RowHandler)2 Before (org.junit.Before)2 SqlMapExecutorWrapper (com.alibaba.druid.support.ibatis.SqlMapExecutorWrapper)1 SqlMapSessionWrapper (com.alibaba.druid.support.ibatis.SqlMapSessionWrapper)1 SqlMapSessionImpl (com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl)1 SessionScope (com.ibatis.sqlmap.engine.scope.SessionScope)1 Field (java.lang.reflect.Field)1