Turn Around. Don’t Use JPA’s loadgraph and fetchgraph Hints. Use SQL Instead.

Thorben Janssen (also known from our jOOQ Tuesdays series) recently published an interesting wrap-up of what's possible with Hibernate / JPA query hints. The full article can be seen here: http://www.thoughts-on-java.org/11-jpa-hibernate-query-hints-every-developer-know Some JPA hints aren't really hints, they're really full-blown query specifications, just like JPQL queries, or SQL queries. They tell JPA how to fetch … Continue reading Turn Around. Don’t Use JPA’s loadgraph and fetchgraph Hints. Use SQL Instead.