public void saveRelations(DBTransaction transaction,String charname,Player player) throws SQLException {
  Multimap<String,String> oldList=loadRelations(transaction,charname);
  Set<String> buddies=player.getBuddies();
  buddies.add(charname);
  syncBuddyListToDB(transaction,charname,"buddy",oldList.get("buddy"),buddies);
  syncBuddyListToDB(transaction,charname,"ignore",oldList.get("ignore"),player.getIgnores());
}

public void saveRelations ( DBTransaction transaction , String charname , Player player ) throws SQLException { Multimap < String , String > oldList = loadRelations ( transaction , charname ) ; Set < String > buddies = player . getBuddies ( ) ; buddies . add ( charname ) ; syncBuddyListToDB ( transaction , charname , "buddy" , oldList . get ( "buddy" ) , buddies ) ; syncBuddyListToDB ( transaction , charname , "ignore" , oldList . get ( "ignore" ) , player . getIgnores ( ) ) ; }
saves the buddy list for the specified charname
