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