I actually tested the HQL version of the described use case which turned out to be problematic. Not sure about whether the criteria query really is a problem.