protected PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, autoGeneratedKeys); else { stmnt = _conn.prepareStatement(sql, autoGeneratedKeys); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, String[] columnNames, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, columnNames, wrap); else { stmnt = _conn.prepareStatement(sql, columnNames); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, String[] columnNames, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, columnNames, wrap); else { stmnt = _conn.prepareStatement(sql, columnNames); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, columnIndexes, wrap); else { stmnt = _conn.prepareStatement(sql, columnIndexes); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, columnIndexes, wrap); else { stmnt = _conn.prepareStatement(sql, columnIndexes); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, columnIndexes, wrap); else { stmnt = _conn.prepareStatement(sql, columnIndexes); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, String[] columnNames, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, columnNames, wrap); else { stmnt = _conn.prepareStatement(sql, columnNames); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, autoGeneratedKeys); else { stmnt = _conn.prepareStatement(sql, autoGeneratedKeys); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, autoGeneratedKeys); else { stmnt = _conn.prepareStatement(sql, autoGeneratedKeys); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability, false); else { stmnt = _conn.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability, false); else { stmnt = _conn.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, int type, int concur, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, type, concur, false); else stmnt = _conn.prepareStatement(str, type, concur); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
protected PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability, false); else { stmnt = _conn.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); } if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, false); else stmnt = _conn.prepareStatement(str, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, int type, int concur, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, type, concur, false); else stmnt = _conn.prepareStatement(str, type, concur); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, int type, int concur, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, type, concur, false); else stmnt = _conn.prepareStatement(str, type, concur); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, false); else stmnt = _conn.prepareStatement(str, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, int type, int concur, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, type, concur, false); else stmnt = _conn.prepareStatement(str, type, concur); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, false); else stmnt = _conn.prepareStatement(str, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }
/** * Prepare a statement, with the option of not wrapping it in a * {@link DelegatingPreparedStatement}, which is the default. */ protected PreparedStatement prepareStatement(String str, boolean wrap) throws SQLException { PreparedStatement stmnt; if (_del != null) stmnt = _del.prepareStatement(str, false); else stmnt = _conn.prepareStatement(str, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); if (wrap) stmnt = new DelegatingPreparedStatement(stmnt, this); return stmnt; }