return c.list();
return this.params.getFilter().isUnique() ? c.uniqueResult() : c.list();
    protected Object runQuery(Session session)         throws HibernateException, SQLException    {        Criteria c = session.createCriteria((Class) value(CLASS));        for (QueryParameter qp : params.queryParameters())        {            if ( ! qp.name.equals( CLASS ) )            {                c.add(Expression.eq(qp.name,qp.value)); // TODO checks for type.                            }        }        return c.list();            }