How can I check QueryHint work or not?

Viewed 433

Spring Data JPA allows placing @QueryHints annotation on the interface method and can be applied to the methods annotated with @Query and without such.

@QueryHints(@javax.persistence.QueryHint(name="org.hibernate.fetchSize", value="50"))
List<Foo> findAll();

How can I check know for sure that hint was honored?

0 Answers
Related