DBUtils.deleteItems("community_entity_attribute", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);
  public static void reallyClearCMTasb(String assembly_id){    if (assembly_id == null || assembly_id.equals(""))      return;    Logger log = CSMART.createLogger("org.cougaar.tools.csmart.core.db.CMT");    // Avoid base assemblies here    if (assembly_id.startsWith("CMT") && assembly_id.indexOf("134589") != -1) {      if (log.isInfoEnabled()) {	log.info("Asked to delete base assembly " + assembly_id, new Throwable());      }      // base assembly I think.      int response = 	JOptionPane.showConfirmDialog(null,				      "You seem to be trying to delete a base society (id " + assembly_id + ") -- do you REALLY want to do this?",				      "Confirm Delete",				      JOptionPane.YES_NO_OPTION);            if (response != JOptionPane.YES_OPTION) {	return;      }    }    // Add in base community assembly avoidance here too?    if (assembly_id.equals("COMM-DEFAULT_CONFIG")) {      if (log.isInfoEnabled()) {	log.info("Asked to delete base comm assembly " + assembly_id, new Throwable());      }      // base assembly I think.      int response = 	JOptionPane.showConfirmDialog(null,				      "You seem to be trying to delete the base community definition (id " + assembly_id + ") -- do you REALLY want to do this?",				      "Confirm Delete",				      JOptionPane.YES_NO_OPTION);            if (response != JOptionPane.YES_OPTION) {	return;      }    }    if (log.isDebugEnabled()) {      log.debug("Deleting assembly " + assembly_id);    }    DBUtils.deleteItems(asbPrefix+"asb_component_hierarchy", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_agent", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_agent_pg_attr", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_agent_relation", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_component_arg", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_oplan_agent_attr", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_oplan", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);    DBUtils.deleteItems(asbPrefix+"asb_assembly", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);        // Added community tables to those that get cleaned out    DBUtils.deleteItems("community_attribute", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);        DBUtils.deleteItems("community_entity_attribute", "assembly_id", DBUtils.sqlQuote(assembly_id), QUERY_FILE);      }