HHH-15154 tweak verbiage in user guide on FetchMode.SUBSELECT

This commit is contained in:
Nathan Xu 2022-05-02 12:28:32 -04:00 committed by Christian Beikov
parent 5f0c215d6d
commit 8af615386f
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ and then navigate their `employees` collections.
Hibernate is going to avoid the N + 1 query issue by generating a single SQL statement to initialize all `employees` collections Hibernate is going to avoid the N + 1 query issue by generating a single SQL statement to initialize all `employees` collections
for all `Department` entities that were previously fetched. for all `Department` entities that were previously fetched.
Instead of using passing all entity identifiers, Hibernate simply reruns the previous query that fetched the `Department` entities. Instead of passing all entity identifiers, Hibernate simply reruns the previous query that fetched the `Department` entities.
[[fetching-strategies-fetch-mode-subselect-example]] [[fetching-strategies-fetch-mode-subselect-example]]
.`FetchMode.SUBSELECT` mapping example .`FetchMode.SUBSELECT` mapping example