Remove PASS_DISTINCT_THROUGH flag
This commit is contained in:
parent
f5fdb653a8
commit
614ecbdc57
|
@ -117,15 +117,6 @@ public class QueryHints {
|
||||||
*/
|
*/
|
||||||
public static final String FOLLOW_ON_LOCKING = "hibernate.query.followOnLocking";
|
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.
|
* Hint for specifying query spaces to be applied to a native (SQL) query.
|
||||||
*
|
*
|
||||||
|
|
|
@ -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.FOLLOW_ON_LOCKING;
|
||||||
import static org.hibernate.annotations.QueryHints.NATIVE_LOCKMODE;
|
import static org.hibernate.annotations.QueryHints.NATIVE_LOCKMODE;
|
||||||
import static org.hibernate.annotations.QueryHints.NATIVE_SPACES;
|
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.READ_ONLY;
|
||||||
import static org.hibernate.annotations.QueryHints.TIMEOUT_HIBERNATE;
|
import static org.hibernate.annotations.QueryHints.TIMEOUT_HIBERNATE;
|
||||||
import static org.hibernate.annotations.QueryHints.TIMEOUT_JAKARTA_JPA;
|
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_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}
|
* See {@link org.hibernate.annotations.QueryHints#NATIVE_SPACES}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue