fix error from mapping changes
This commit is contained in:
parent
95c92273e9
commit
8e487713b7
@ -71,7 +71,7 @@ public class PacModuleImpl extends AbstractModuleImpl {
|
||||
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>();
|
||||
|
Loading…
Reference in New Issue
Block a user