Package org.hibernate.jpa
Interface SpecHints
-
- All Known Subinterfaces:
AvailableHints
public interface SpecHintsThe 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 StringHINT_SPEC_CACHE_RETRIEVE_MODEHint specifying how Hibernate should interact with the second level cache when it has the opportunity to retrieve data from the cache.static StringHINT_SPEC_CACHE_STORE_MODEHint specifying how Hibernate should interact with the second level cache when it has the opportunity to store data in the cache.static StringHINT_SPEC_FETCH_GRAPHHint providing aEntityGraphwhich should be interpreted as a "fetch graph".static StringHINT_SPEC_LOAD_GRAPHHint providing aEntityGraphwhich should be interpreted as a "load graph".static StringHINT_SPEC_LOCK_SCOPEHint indicating whether to extend pessimistic locking to associated tables.static StringHINT_SPEC_LOCK_TIMEOUTHint requesting a pessimistic lock timeout (in milliseconds).static StringHINT_SPEC_QUERY_TIMEOUTThe Jakarta Persistence defined hint for requesting a timeout be applied to aQueryexecutions.
-
-
-
Field Detail
-
HINT_SPEC_FETCH_GRAPH
static final String HINT_SPEC_FETCH_GRAPH
Hint providing aEntityGraphwhich 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 aEntityGraphwhich 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 aQueryexecutions.- 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.
-
-