Skip to content

Commit b4477ed

Browse files
HINT_PASS_DISTINCT_THROUGH
1 parent 953cd6a commit b4477ed

File tree

1 file changed

+1
-1
lines changed
  • HibernateSpringBootHintPassDistinctThrough

1 file changed

+1
-1
lines changed

HibernateSpringBootHintPassDistinctThrough/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**[Optimize `SELECT DISTINCT` Via Hibernate `HINT_PASS_DISTINCT_THROUGH` Hint](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootHintPassDistinctThrough)**
22

3-
**Description:** Starting with Hibernate 5.2.2, we can optimize `SELECT DISTINCT` via `HINT_PASS_DISTINCT_THROUGH` hint
3+
**Description:** Starting with Hibernate 5.2.2, we can optimize JPQL (HQL) query entites of type `SELECT DISTINCT` via `HINT_PASS_DISTINCT_THROUGH` hint.
44

55
**Key points:**\
66
- use `@QueryHints(value = @QueryHint(name = HINT_PASS_DISTINCT_THROUGH, value = "false"))`

0 commit comments

Comments
 (0)