Search in sources :

Example 6 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project druid by alibaba.

the class SqlMapClientImplWrapper method openSession.

public SqlMapSession openSession(Connection conn) {
    SqlMapSession session = raw.openSession(conn);
    IbatisUtils.setClientImpl(session, this);
    return new SqlMapSessionWrapper(raw, session);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession)

Example 7 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project druid by alibaba.

the class SqlMapClientImplWrapper method getSession.

public SqlMapSession getSession() {
    SqlMapSession session = raw.getSession();
    IbatisUtils.setClientImpl(session, this);
    return new SqlMapSessionWrapper(raw, session);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession)

Example 8 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project druid by alibaba.

the class SqlMapClientWrapper method getSession.

public SqlMapSession getSession() {
    SqlMapSession session = client.getSession();
    IbatisUtils.setClientImpl(session, clientImplWrapper);
    return new SqlMapSessionWrapper(client, session);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession)

Example 9 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project druid by alibaba.

the class SqlMapClientWrapper method openSession.

public SqlMapSession openSession() {
    SqlMapSession session = client.openSession();
    IbatisUtils.setClientImpl(session, clientImplWrapper);
    return new SqlMapSessionWrapper(client, session);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession)

Example 10 with SqlMapSession

use of com.ibatis.sqlmap.client.SqlMapSession in project druid by alibaba.

the class SqlMapClientWrapper method openSession.

public SqlMapSession openSession(Connection conn) {
    SqlMapSession session = client.openSession(conn);
    IbatisUtils.setClientImpl(session, clientImplWrapper);
    return new SqlMapSessionWrapper(client, session);
}
Also used : SqlMapSession(com.ibatis.sqlmap.client.SqlMapSession)

Aggregations

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