log.append("\n");
team = teamDao.merge(team);
}
BaseDao<League> leagueDao = daoResolver.resolve(League.class);
LeagueQuery leagueQuery = new LeagueQuery();
leagueQuery.getEntity().setName(leagueCode);
League league = leagueDao.findUnique(leagueQuery);
if (league.getTeamsHistory() == null) {
league.setTeamsHistory(new ArrayList<LeagueTeamHistory>());
}
LeagueTeamHistory ltHistory = new LeagueTeamHistory();