make criteria execution return a resource collection