Package org.hibernate.jpa
Interface SpecHints
-
- All Known Subinterfaces:
AvailableHints
public interface SpecHints
The hints explicitly defined by the Jakarta Persistence specification which are available for both queries and loading.
-
-
Field Summary
Fields Modifier and Type Field Description static String
HINT_SPEC_CACHE_RETRIEVE_MODE
Hint specifying how Hibernate should interact with the second level cache when it has the opportunity to retrieve data from the cache.static String
HINT_SPEC_CACHE_STORE_MODE
Hint specifying how Hibernate should interact with the second level cache when it has the opportunity to store data in the cache.static String
HINT_SPEC_FETCH_GRAPH
Hint providing aEntityGraph
which should be interpreted as a "fetch graph".static String
HINT_SPEC_LOAD_GRAPH
Hint providing aEntityGraph
which should be interpreted as a "load graph".static String
HINT_SPEC_LOCK_SCOPE
Hint indicating whether to extend pessimistic locking to associated tables.static String
HINT_SPEC_LOCK_TIMEOUT
Hint requesting a pessimistic lock timeout (in milliseconds).static String
HINT_SPEC_QUERY_TIMEOUT
The Jakarta Persistence defined hint for requesting a timeout be applied to aQuery
executions.
-
-
-
Field Detail
-
HINT_SPEC_FETCH_GRAPH
static final String HINT_SPEC_FETCH_GRAPH
Hint providing aEntityGraph
which should be interpreted as a "fetch graph".- See Also:
GraphSemantic.FETCH
, Constant Field Values
-
HINT_SPEC_LOAD_GRAPH
static final String HINT_SPEC_LOAD_GRAPH
Hint providing aEntityGraph
which should be interpreted as a "load graph".- See Also:
GraphSemantic.LOAD
, Constant Field Values
-
HINT_SPEC_LOCK_TIMEOUT
static final String HINT_SPEC_LOCK_TIMEOUT
Hint requesting a pessimistic lock timeout (in milliseconds).- See Also:
- Constant Field Values
-
HINT_SPEC_LOCK_SCOPE
static final String HINT_SPEC_LOCK_SCOPE
Hint indicating whether to extend pessimistic locking to associated tables. Expected to be an instance ofPessimisticLockScope
- See Also:
- Constant Field Values
-
HINT_SPEC_QUERY_TIMEOUT
static final String HINT_SPEC_QUERY_TIMEOUT
The Jakarta Persistence defined hint for requesting a timeout be applied to aQuery
executions.- See Also:
- Constant Field Values
- Implementation Specification:
- Not valid for load and/or lock operations
-
HINT_SPEC_CACHE_RETRIEVE_MODE
static final String HINT_SPEC_CACHE_RETRIEVE_MODE
Hint specifying how Hibernate should interact with the second level cache when it has the opportunity to retrieve data from the cache. The value must be aCacheRetrieveMode
.
-
HINT_SPEC_CACHE_STORE_MODE
static final String HINT_SPEC_CACHE_STORE_MODE
Hint specifying how Hibernate should interact with the second level cache when it has the opportunity to store data in the cache. The value must be aCacheStoreMode
.
-
-