code: public int executeUpdate(String sql) throws SQLException {
      if (executeInternal(sql, fetchSize, Statement.NO_GENERATED_KEYS)) {
        return 0;
      }
      return getUpdateCount();
    }
docs: Executes an update.
  
  @param sql the update query.
  @return update count
  @throws SQLException if the query could not be sent to server.