public SqlMapSession getSession() { SqlMapSession session = raw.getSession(); IbatisUtils.setClientImpl(session, this); return new SqlMapSessionWrapper(raw, stats, session); }
protected SqlMapSessionWrapper getLocalSqlMapSessionWrapper() { SqlMapSessionImpl sessionImpl = raw.getLocalSqlMapSession(); SqlMapSessionImplUtils.set(sessionImpl, this); return new SqlMapSessionWrapper(raw, stats, sessionImpl); }
public SqlMapSession openSession(Connection conn) { stats.incrementOpenSessionCount(); SqlMapSession session = raw.openSession(conn); IbatisUtils.setClientImpl(session, this); return new SqlMapSessionWrapper(raw, stats, session); }
public SqlMapClientImplWrapper(SpringIbatisStats stats, SqlMapClientImpl raw) { super(raw.getDelegate()); this.stats = stats; this.raw = raw; }