I know the treat construct is required in JPQL. It’s just that Steve Ebersole’s comment made me thought it wasn’t required in HQL.