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