protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { beforeExecuteStatement(this); try { return super.executeQuery(sql, wrap); } finally { afterExecuteStatement(this); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { beforeExecuteStatement(this); try { return super.executeQuery(sql, wrap); } finally { afterExecuteStatement(this); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { beforeExecuteStatement(this); try { return super.executeQuery(sql, wrap); } finally { afterExecuteStatement(this); } } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { beforeExecuteStatement(this); try { return super.executeQuery(sql, wrap); } finally { afterExecuteStatement(this); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { beforeExecuteStatement(this); try { return super.executeQuery(sql, wrap); } finally { afterExecuteStatement(this); } }
public ResultSet executeQuery(String str) throws SQLException { return executeQuery(str, true); }
public ResultSet executeQuery(String str) throws SQLException { return executeQuery(str, true); }
public ResultSet executeQuery(String str) throws SQLException { return executeQuery(str, true); }
public ResultSet executeQuery(String str) throws SQLException { return executeQuery(str, true); }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { _sql = sql; logSQL(this); long start = System.currentTimeMillis(); try { return super.executeQuery(sql, wrap); } catch (SQLException se) { throw wrap(se, LoggingStatement.this); } finally { logTime(start); handleSQLWarning(LoggingStatement.this); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { _sql = sql; logSQL(this); long start = System.currentTimeMillis(); SQLException err = null; try { return super.executeQuery(sql, wrap); } catch (SQLException se) { err = wrap(se, LoggingStatement.this, sql); throw err; } finally { logTime(start); handleSQLErrors(LoggingStatement.this, err); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { _sql = sql; logSQL(this); long start = System.currentTimeMillis(); SQLException err = null; try { return super.executeQuery(sql, wrap); } catch (SQLException se) { err = wrap(se, LoggingStatement.this, sql); throw err; } finally { logTime(start); handleSQLErrors(LoggingStatement.this, err); } }
/** * Execute the query, with the option of not wrapping it in a * {@link DelegatingResultSet}, which is the default. */ protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { ResultSet rs; if (_del != null) rs = _del.executeQuery(sql, false); else rs = _stmnt.executeQuery(sql); return wrapResult(rs, wrap); }
/** * Execute the query, with the option of not wrapping it in a * {@link DelegatingResultSet}, which is the default. */ protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { ResultSet rs; if (_del != null) rs = _del.executeQuery(sql, false); else rs = _stmnt.executeQuery(sql); return wrapResult(rs, wrap); }
/** * Execute the query, with the option of not wrapping it in a * {@link DelegatingResultSet}, which is the default. */ protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { ResultSet rs; if (_del != null) rs = _del.executeQuery(sql, false); else rs = _stmnt.executeQuery(sql); return wrapResult(rs, wrap); }
/** * Execute the query, with the option of not wrapping it in a * {@link DelegatingResultSet}, which is the default. */ protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { ResultSet rs; if (_del != null) rs = _del.executeQuery(sql, false); else rs = _stmnt.executeQuery(sql); return wrapResult(rs, wrap); }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { JDBCEvent before = fireEvent(_conn.getDelegate(), JDBCEvent.BEFORE_EXECUTE_STATEMENT, null, getDelegate(), sql); try { return super.executeQuery(sql, wrap); } finally { fireEvent(_conn.getDelegate(), JDBCEvent.AFTER_EXECUTE_STATEMENT, before, getDelegate(), sql); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { JDBCEvent before = fireEvent(_conn.getDelegate(), JDBCEvent.BEFORE_EXECUTE_STATEMENT, null, getDelegate(), sql); try { return super.executeQuery(sql, wrap); } finally { fireEvent(_conn.getDelegate(), JDBCEvent.AFTER_EXECUTE_STATEMENT, before, getDelegate(), sql); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { JDBCEvent before = fireEvent(_conn.getDelegate(), JDBCEvent.BEFORE_EXECUTE_STATEMENT, null, getDelegate(), sql); try { return super.executeQuery(sql, wrap); } finally { fireEvent(_conn.getDelegate(), JDBCEvent.AFTER_EXECUTE_STATEMENT, before, getDelegate(), sql); } }
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException { JDBCEvent before = fireEvent(_conn.getDelegate(), JDBCEvent.BEFORE_EXECUTE_STATEMENT, null, getDelegate(), sql); try { return super.executeQuery(sql, wrap); } finally { fireEvent(_conn.getDelegate(), JDBCEvent.AFTER_EXECUTE_STATEMENT, before, getDelegate(), sql); } } }