protected PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, resultSetType, resultSetConcurrency, resultSetHoldability, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, resultSetType, resultSetConcurrency, resultSetHoldability, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, resultSetType, resultSetConcurrency, resultSetHoldability, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int rsType, int rsConcur, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, rsType, rsConcur, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int rsType, int rsConcur, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, rsType, rsConcur, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, String[] columnNames, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, columnNames, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, autoGeneratedKeys, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement(sql, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int rsType, int rsConcur, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, rsType, rsConcur, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, columnIndexes, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, columnIndexes, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, autoGeneratedKeys, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, String[] columnNames, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, columnNames, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, columnIndexes, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, String[] columnNames, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, columnNames, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement(sql, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement (sql, autoGeneratedKeys, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }
protected PreparedStatement prepareStatement(String sql, boolean wrap) throws SQLException { SQLException err = null; try { PreparedStatement stmnt = super.prepareStatement(sql, false); return newLoggingPreparedStatement(stmnt, sql); } catch (SQLException se) { err = wrap(se, sql); throw err; } finally { handleSQLErrors(err); } }