diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index d3dc673..040c228 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -193,7 +193,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { private Processor createPostgreyConfiguration(EntityManager em) throws ProcessorException { ArrayList> domsMaps = new ArrayList>(); - Query query = em.createQuery("SELECT DISTINCT dom FROM Domains WHERE NOT EXISTS " + + Query query = em.createQuery("SELECT DISTINCT dom FROM Domains dom WHERE NOT EXISTS " + "( SELECT postgreyDom FROM Domains postgreyDom " + " WHERE postgreyDom.domainoptions.name = :option" + " AND postgreyDom.name = dom.name )");