Query hints added to QueryDSL repositories via the @QueryHints annotation were working for count queries in version 1.10.4 but are no longer applied as of version 1.10.5.
In org.springframework.data.jpa.repository.support.QueryDslJpaRepository, a change was made in version 1.10.5 so that a new method, createCountQuery() is now called when creating the count query, whereas previously the createQuery() method was called. The new createCountQuery() method disregards any query hints
Affects: 1.10.8 (Hopper SR8)
DATAJPA-790 org.hibernate.QueryException when applying @EntityGraph on (Querydsl) findAll(Predicate, Pageable) method