Uses of Class
org.hibernate.cache.spi.QueryKey
Packages that use QueryKey
Package
Description
Defines the integration aspect of Hibernate's second-level caching, allowing
a "caching backend" to be plugged in as a cache provider.
-
Uses of QueryKey in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi that return QueryKeyModifier and TypeMethodDescriptionstatic QueryKey
QueryKey.from
(String sqlQueryString, Limit limit, QueryParameterBindings parameterBindings, SharedSessionContractImplementor session) Methods in org.hibernate.cache.spi with parameters of type QueryKeyModifier and TypeMethodDescriptionList
<?> QueryResultsCache.get
(QueryKey key, String[] spaces, SharedSessionContractImplementor session) Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.List
<?> QueryResultsCache.get
(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session) Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.boolean
QueryResultsCache.put
(QueryKey key, List<?> result, SharedSessionContractImplementor session) Store a result list of a query with the givenQueryKey
in the query result cache.