public void execute(String sql, Connection conn) throws SQLException { Session session = SessionManager.current(); session.executeAsOuterUser(conn, sql); }
public static ResultSetProvider getProperties() throws SQLException { ObjectPool pool = SessionManager.current().getObjectPool(UsingProperties.class); return (ResultSetProvider) pool.activateInstance(); }