Remove PASS_DISTINCT_THROUGH flag

This commit is contained in:
Fabio Massimo Ercoli 2021-12-22 13:40:37 +01:00 committed by Steve Ebersole
parent f5fdb653a8
commit 614ecbdc57
2 changed files with 0 additions and 12 deletions

View File

@ -117,15 +117,6 @@ public class QueryHints {
*/
public static final String FOLLOW_ON_LOCKING = "hibernate.query.followOnLocking";
/**
* Hint to enable/disable the pass-distinct-through mechanism.
* A value of {@code true} enables pass-distinct-through, whereas a value of {@code false} disables it.
* When the pass-distinct-through is disabled, the HQL and JPQL distinct clause is no longer passed to the SQL statement.
*
* @since 5.2
*/
public static final String PASS_DISTINCT_THROUGH = "hibernate.query.passDistinctThrough";
/**
* Hint for specifying query spaces to be applied to a native (SQL) query.
*

View File

@ -20,7 +20,6 @@ import static org.hibernate.annotations.QueryHints.FLUSH_MODE;
import static org.hibernate.annotations.QueryHints.FOLLOW_ON_LOCKING;
import static org.hibernate.annotations.QueryHints.NATIVE_LOCKMODE;
import static org.hibernate.annotations.QueryHints.NATIVE_SPACES;
import static org.hibernate.annotations.QueryHints.PASS_DISTINCT_THROUGH;
import static org.hibernate.annotations.QueryHints.READ_ONLY;
import static org.hibernate.annotations.QueryHints.TIMEOUT_HIBERNATE;
import static org.hibernate.annotations.QueryHints.TIMEOUT_JAKARTA_JPA;
@ -136,8 +135,6 @@ public class QueryHints {
public static final String HINT_FOLLOW_ON_LOCKING = FOLLOW_ON_LOCKING;
public static final String HINT_PASS_DISTINCT_THROUGH = PASS_DISTINCT_THROUGH;
/**
* See {@link org.hibernate.annotations.QueryHints#NATIVE_SPACES}
*/