Search in sources :

Example 1 with SqlMapSessionImpl

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

the class SqlMapSessionIT method queryForListShouldBeTraced.

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

Example 2 with SqlMapSessionImpl

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

the class SqlMapSessionIT method queryForObjectShouldBeTraced.

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

Example 3 with SqlMapSessionImpl

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

the class SqlMapSessionIT method insertShouldBeTraced.

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

Example 4 with SqlMapSessionImpl

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

the class SqlMapSessionIT method updateShouldBeTraced.

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

Example 5 with SqlMapSessionImpl

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

the class SqlMapSessionIT method queryForPaginagedListShouldBeTraced.

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

Aggregations

SqlMapSessionImpl (com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl)11 SqlMapSession (com.ibatis.sqlmap.client.SqlMapSession)8 Test (org.junit.Test)8 SqlMapSessionWrapper (com.alibaba.druid.support.ibatis.SqlMapSessionWrapper)1 BatchException (com.ibatis.sqlmap.engine.execution.BatchException)1 SqlMapClientImpl (com.ibatis.sqlmap.engine.impl.SqlMapClientImpl)1 SQLException (java.sql.SQLException)1