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 QueryKeyQueryKey.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 givenQueryKeyfrom 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 givenQueryKeyfrom the cache region, and then check if the cached results, if any, are stale.booleanQueryResultsCache.put(QueryKey key, List<?> result, SharedSessionContractImplementor session) Store a result list of a query with the givenQueryKeyin the query result cache.