entityManager.flush();
entityManager.persist(newAdv);
}
Repo repo = repoManager.getRepo(overlord, report.getRepoId());
RepoAdvisory repoAdv = new RepoAdvisory(repo, newAdv);
log.debug("Created new mapping of RepoAdvisory repoId = " + repo.getId() + ", distId = "
+ newAdv.getId());
entityManager.flush();
entityManager.persist(repoAdv);
// persist pkgs associated with an errata