The problem is that the result type is not passed from Criteria API to HQL.
However, the HQL parser is going to change significantly in 6.0, so it's better to address it then.