table=getOrgTableName(); updateOrgTable(s,hd); table=getNamesTableName(); updateNamesTable(s,hd); setStatus("Done");
synchronized (this.getClass()) { table=getOrgTableName(); updateOrgTable(s,hd); table=getNamesTableName(); updateNamesTable(s,hd); setStatus("Done"); }
  protected void updateDB(Connection c, DeXMLable obj){    if (isOverdue ())      return;    setStatus("Starting");    HierarchyData hd = (HierarchyData)obj;    Statement s=null;        try{      s = c.createStatement();    }catch(SQLException e){      haltForError(Logger.DB_WRITE,"Could not create Statement",e);      return;    }    String table="Unknown";    try{      table=getOrgTableName();      updateOrgTable(s,hd);      table=getNamesTableName();      updateNamesTable(s,hd);      setStatus("Done");    }catch(SQLException e){      haltForError(Logger.DB_WRITE,"Could not update table("+table+")",e);      return;    }finally{      if(s!=null)	try{	  s.close();	}catch(Exception e){e.printStackTrace();	}    }  }