Query q = session.getNamedQuery("findDatasetAnn"); q.setParameterList("ds_list", arg0, new IntegerType());
Query q = session.getNamedQuery("findImageAnnWithID"); q.setParameterList("img_list", arg0, new IntegerType()); q.setInteger("expId", arg1);
            public Object doInHibernate(Session session)                    throws HibernateException {                Query q = session.getNamedQuery("findDatasetAnn");                q.setParameterList("ds_list", arg0, new IntegerType());                Map map = findDatasetAnnotations(q);                emptyCache();                return map;            }