public static class HibernateBridgingQueryHints.Hibernate5Hints extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | FETCHGRAPHHint providing a "fetchgraph" EntityGraph. | 
| static String | FOLLOW_ON_LOCKINGHint to enable/disable the follow-on-locking mechanism provided by  Dialect.useFollowOnLocking(QueryParameters). | 
| static String | LOADGRAPHHint providing a "loadgraph" EntityGraph. | 
| static String | NATIVE_LOCKMODEAvailable to apply lock mode to a native SQL query since JPA requires that
  Query.setLockMode(javax.persistence.LockModeType)throw an IllegalStateException if called for a native query. | 
| static String | PASS_DISTINCT_THROUGHHint to enable/disable the pass-distinct-through mechanism. | 
| Constructor and Description | 
|---|
| Hibernate5Hints() | 
public static final String NATIVE_LOCKMODE
Query.setLockMode(javax.persistence.LockModeType) throw an IllegalStateException if called for a native query.
 
 Accepts a LockModeType or a LockModepublic static final String FETCHGRAPH
public static final String LOADGRAPH
public static final String FOLLOW_ON_LOCKING
Dialect.useFollowOnLocking(QueryParameters).
 A value of true enables follow-on-locking, whereas a value of false disables it.
 If the value is null, the the Dialect strategy is going to be used instead.public static final String PASS_DISTINCT_THROUGH
true enables pass-distinct-through, whereas a value of false disables it.
 When the pass-distinct-through is disabled, the HQL and JPQL distinct clause is no longer passed to the SQL statement.Copyright © 2020. All rights reserved.