작성
·
1.1K
1
원문입니다.
Starting with Hibernate ORM 6 it is no longer necessary to use distinct in JPQL and HQL to filter out the same parent entity references when join fetching a child collection. The returning duplicates of entities are now always filtered by Hibernate.
Which means that for instance it is no longer necessary to set QueryHints#HINT_PASS_DISTINCT_THROUGH
to false
in order to skip the entity duplicates without producing a distinct
in the SQL query.
From Hibernate ORM 6, distinct
is always passed to the SQL query and the flag QueryHints#HINT_PASS_DISTINCT_THROUGH
has been removed.
답변 1
이렇게까지 A/S가 되고있는지 몰랐네요.
감사합니다.