OQL reference
This commit is contained in:
parent
cb0df3e3ff
commit
449b41159c
@ -253,7 +253,7 @@ public class DomainModuleImpl extends AbstractModuleImpl {
|
|||||||
Domain dom = (Domain) existingEntity;
|
Domain dom = (Domain) existingEntity;
|
||||||
GenericModuleImpl helperModule = new GenericModuleImpl(getTransaction());
|
GenericModuleImpl helperModule = new GenericModuleImpl(getTransaction());
|
||||||
|
|
||||||
String[] dependQueries = new String[] { "SELECT adr FROM EMailAddresses adr WHERE domain.name = :dom", };
|
String[] dependQueries = new String[] { "SELECT adr FROM EMailAddresses adr WHERE adr.domain.name = :dom", };
|
||||||
|
|
||||||
for (String queryString : dependQueries) {
|
for (String queryString : dependQueries) {
|
||||||
Query qEntities = em.createQuery(queryString);
|
Query qEntities = em.createQuery(queryString);
|
||||||
|
Loading…
Reference in New Issue
Block a user