/** * Executes a DELETE statement. * * @param sql The SQL * @param args The arguments to be set on the statement. * @return The number of rows impacted or BATCHED_RESULTS if the statements are being batched. * @throws SQLException If statement preparation or execution fails */ public int delete(String sql, Object... args) throws SQLException { return update(sql, args); }
public int delete(String sql, Object... args) throws SQLException { return update(sql, args); }
/** * Executes a DELETE statement. * * @param sql The SQL * @param args The arguments to be set on the statement. * @return The number of rows impacted or BATCHED_RESULTS if the statements are being batched. * @throws SQLException If statement prepration or execution fails */ public int delete(String sql, Object... args) throws SQLException { return update(sql, args); }