Skip to content

Commit

Permalink
HHH-16820 updated userguide
Browse files Browse the repository at this point in the history
  • Loading branch information
dreab8 committed Jun 27, 2023
1 parent 50fab5b commit 9abb3b4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,13 @@ most of the time, a DTO projection or a `JOIN FETCH` is a much better alternativ
it allows you to fetch all the required data with a single query.
====

[NOTE]
====
When `LockModeType` is different from `NONE` Hibernate will not execute a batch fetching so uninitialized entity proxies will not be initialized.
This because the lock mode is different from the one of the proxies in the batch fetch queue.
====

[[fetching-fetch-annotation]]
=== The `@Fetch` annotation mapping

Expand Down

0 comments on commit 9abb3b4

Please sign in to comment.