Hibernate Tips: How To Apply DISTINCT to Your JPQL But Not Your SQL Query
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question for a future Hibernate Tip, please post a comment below. Question: I’m using a query with a JOIN FETCH clause to load parent entities with all their child entities. The JPQL…
