Search in sources :

Example 11 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project pinpoint by naver.

the class SqlMapSessionIT method methodCallWithNullSqlIdShouldOnlyTraceMethodName.

@Test
public void methodCallWithNullSqlIdShouldOnlyTraceMethodName() throws Exception {
    SqlMapSession sqlMapSession = new SqlMapSessionImpl(this.sqlMapClient);
    super.testAndVerifyInsertWithNullSqlId(sqlMapSession);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession) SqlMapSessionImpl(com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl) Test(org.junit.Test)

Example 12 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project pinpoint by naver.

the class SqlMapSessionIT method deleteShouldBeTraced.

@Test
public void deleteShouldBeTraced() throws Exception {
    SqlMapSession sqlMapSession = new SqlMapSessionImpl(this.sqlMapClient);
    super.testAndVerifyDelete(sqlMapSession);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession) SqlMapSessionImpl(com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl) Test(org.junit.Test)

Example 13 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project pinpoint by naver.

the class SqlMapSessionIT method queryForMapShouldBeTraced.

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

Aggregations

SqlMapSession (com.ibatis.sqlmap.client.SqlMapSession)13 SqlMapSessionImpl (com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl)8 Test (org.junit.Test)8