Uses of Class
org.hibernate.cache.spi.QueryKey
-
Packages that use QueryKey Package Description org.hibernate.cache.spi Defines the integration aspect of Hibernate's second-level caching allowing "caching back ends" to be plugged in as a caching provider.org.hibernate.loader org.hibernate.loader.custom -
-
Uses of QueryKey in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi that return QueryKey Modifier and Type Method Description static QueryKeyQueryKey. generateQueryKey(java.lang.String queryString, QueryParameters queryParameters, java.util.Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)Generates a QueryKey.Methods in org.hibernate.cache.spi with parameters of type QueryKey Modifier and Type Method Description java.util.ListQueryCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)Deprecated.Get results from the cache.java.util.ListQueryResultsCache. get(QueryKey key, java.lang.String[] spaces, Type[] returnTypes, SharedSessionContractImplementor session)Get results from the cache.java.util.ListQueryResultsCache. get(QueryKey key, java.util.Set<java.io.Serializable> spaces, Type[] returnTypes, SharedSessionContractImplementor session)Get results from the cache.default java.util.ListQueryResultsCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)booleanQueryCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)Deprecated.Put a result into the query cache.booleanQueryResultsCache. put(QueryKey key, java.util.List result, Type[] returnTypes, SharedSessionContractImplementor session)Put a result into the query cache.default booleanQueryResultsCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session) -
Uses of QueryKey in org.hibernate.loader
Methods in org.hibernate.loader that return QueryKey Modifier and Type Method Description protected QueryKeyLoader. generateQueryKey(SharedSessionContractImplementor session, QueryParameters queryParameters)Methods in org.hibernate.loader with parameters of type QueryKey Modifier and Type Method Description protected java.util.ListLoader. getResultFromQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key)protected voidLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result) -
Uses of QueryKey in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom with parameters of type QueryKey Modifier and Type Method Description protected voidCustomLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)CustomLoader.resultTypescan be overridden byCustomLoader.autoDiscoverTypes(ResultSet), *after*CustomLoader.list(SharedSessionContractImplementor, QueryParameters)has already been called.
-