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