If you get
could not resolve property: ID: of
error for a HQL query and you know the property exists and is spelt correctly check that the query parameters are defined correctly.
Had this problem when query text was:
..... TaskStatus:=status ....
The problem is that the colon is the wrong side of the equals, should be
..... TaskStatus=:status ....
Error is easy typo to make but had to spot.