From 4335786a43e22245f313a9451e2e22040beb4823 Mon Sep 17 00:00:00 2001 From: anttil <anttil> Date: Wed, 9 Jul 2014 08:39:38 +0000 Subject: [PATCH] SSDM-555: fix ui-test SVN: 31924 --- .../generic/server/dataaccess/db/GridCustomColumnDAO.java | 1 - 1 file changed, 1 deletion(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/GridCustomColumnDAO.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/GridCustomColumnDAO.java index 5c1d4210812..caadec2945f 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/GridCustomColumnDAO.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/GridCustomColumnDAO.java @@ -60,7 +60,6 @@ public class GridCustomColumnDAO extends AbstractGenericEntityDAO<GridCustomColu assert gridId != null : "Unspecified grid ID."; final DetachedCriteria criteria = DetachedCriteria.forClass(getEntityClass()); - criteria.add(Restrictions.eq("databaseInstance", getDatabaseInstance())); criteria.add(Restrictions.eq("gridId", gridId)); final List<GridCustomColumnPE> list = cast(getHibernateTemplate().findByCriteria(criteria)); if (operationLog.isDebugEnabled()) -- GitLab