code: public int executeUpdate(Connection conn, DataObject[] objects) throws SQLException {
          PreparedStatement statement = conn.prepareStatement(_sql);
          try {
              for (DataObject object: objects) {
                  load(statement, object);
                  statement.addBatch();
              }
              int count = getAffectedRowCount(statement.executeBatch());
              return count;
          } finally {
              statement.close();
          }
      }
docs: Executes a batch UPDATE or DELETE statement.
  
  @return the number of rows affected