This commit is contained in:
Peter Hormanns 2019-06-18 18:59:35 +02:00
parent 90d7030c6a
commit 54139ec1f5

View File

@ -157,7 +157,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
} }
} }
final Query pacsQuery = em.createQuery("SELECT p FROM Pacs p WHERE p.hive.name = :hivename"); final Query pacsQuery = em.createQuery("SELECT p FROM Pacs p WHERE p.hive.name = :hivename");
domsQuery.setParameter("hivename", hiveName); pacsQuery.setParameter("hivename", hiveName);
final List<?> pacsList = pacsQuery.getResultList(); final List<?> pacsList = pacsQuery.getResultList();
for (final Object obj : pacsList) { for (final Object obj : pacsList) {
if (obj instanceof Pac) { if (obj instanceof Pac) {