Commit d55e3c6d authored by Alessandro Portosa's avatar Alessandro Portosa
Browse files

Fix missing import

parent d1ff93c2
......@@ -18,8 +18,6 @@
package it.eng.spagobi.commons.domains;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
......
......@@ -17,13 +17,6 @@
*/
package it.eng.spagobi.commons.dao;
import it.eng.spago.error.EMFErrorSeverity;
import it.eng.spago.error.EMFUserError;
import it.eng.spagobi.commons.bo.Domain;
import it.eng.spagobi.commons.metadata.SbiDomains;
import it.eng.spagobi.commons.metadata.SbiProductType;
import it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
......@@ -39,6 +32,14 @@ import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Expression;
import org.hibernate.criterion.Order;
import it.eng.spago.error.EMFErrorSeverity;
import it.eng.spago.error.EMFUserError;
import it.eng.spagobi.commons.bo.Domain;
import it.eng.spagobi.commons.metadata.SbiDomains;
import it.eng.spagobi.commons.metadata.SbiProductType;
import it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException;
/**
* Defines the Hibernate implementations for all DAO methods, for a domain.
......@@ -174,8 +175,8 @@ public class DomainDAOHibImpl extends AbstractHibernateDAO implements IDomainDAO
SbiDomains domain = (SbiDomains) domainIt.next();
Query hibQueryProd = aSession.createQuery("select opt.sbiProductType from SbiOrganizationProductType opt "
+ "where opt.sbiOrganizations.name = :tenant ");
Query hibQueryProd = aSession
.createQuery("select opt.sbiProductType from SbiOrganizationProductType opt " + "where opt.sbiOrganizations.name = :tenant ");
hibQueryProd.setString("tenant", tenant);
List hibListProd = hibQueryProd.list();
......@@ -463,7 +464,7 @@ public class DomainDAOHibImpl extends AbstractHibernateDAO implements IDomainDAO
/*
* (non-Javadoc)
*
*
* @see it.eng.spagobi.commons.dao.IDomainDAO#loadListDomains()
*/
@Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment