Does Hibernate automatically apply distinct to limit results when using fetch joins?
The goal is to retrieve a limited set of distinct parent entities (e.g., Authors) while eagerly fetching their child collections (e.g., Books) using a fetch join, without returning partial collections caused by the limit cutting off duplicate rows. The uncertainty lies in whether Hibernate automatically adds DISTINCT to collapse duplicates before applying se