HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2013-05-01 8e487713b78e0cb69359ed45bb25167ef8568a15
fix error from mapping changes
1 files modified
2 ■■■ changed files
hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java
@@ -71,7 +71,7 @@
        hive = (Hive) qHive.getSingleResult();
        pac.setHive(hive);
        hive.getPacs().add(pac);
        Query qComponents = em.createQuery("SELECT c FROM Components c WHERE c.basePacId = :basepac");
        Query qComponents = em.createQuery("SELECT c FROM Components c WHERE c.basePac.basePacId = :basepac");
        qComponents.setParameter("basepac", basepac.id());
        List<?> componentsList = qComponents.getResultList();
        Set<PacComponent> pacComponents = new HashSet<PacComponent>();