Revert "HHH-14772: Fix filter direct fetching documentation"

This reverts commit 446908f643.
This commit is contained in:
Christian Beikov 2023-03-02 12:23:50 +01:00
parent cb8a17a42b
commit f5741e9b7e
2 changed files with 2 additions and 2 deletions

View File

@ -558,7 +558,7 @@ include::{example-dir-pc}/FilterTest.java[tags=pc-filter-entity-example]
include::{extrasdir}/pc-filter-entity-example.sql[] include::{extrasdir}/pc-filter-entity-example.sql[]
---- ----
As you can see from the example above, just like an entity query, the filter prevents the entity from being loaded. As you can see from the example above, contrary to an entity query, the filter does not prevent the entity from being loaded.
==== ====
Just like with entity queries, collections can be filtered as well, but only if the filter is explicitly enabled on the currently running Hibernate `Session`. Just like with entity queries, collections can be filtered as well, but only if the filter is explicitly enabled on the currently running Hibernate `Session`.

View File

@ -10,4 +10,4 @@ SELECT
FROM FROM
Account a Account a
WHERE WHERE
a.id = 2 and a.active_status = true a.id = 2