Package | Description |
---|---|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
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 |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
Modifier and Type | Method and Description |
---|---|
List |
QueryResultsCacheImpl.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session) |
List |
QueryResultsCacheImpl.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session) |
boolean |
QueryResultsCacheImpl.put(QueryKey key,
List results,
Type[] returnTypes,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
static QueryKey |
QueryKey.generateQueryKey(String queryString,
QueryParameters queryParameters,
Set filterKeys,
SharedSessionContractImplementor session,
CacheableResultTransformer customTransformer)
Generates a QueryKey.
|
Modifier and Type | Method and Description |
---|---|
List |
QueryResultsCache.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
List |
QueryResultsCache.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
default List |
QueryResultsCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session) |
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session)
Deprecated.
Get results from the cache.
|
boolean |
QueryResultsCache.put(QueryKey key,
List result,
Type[] returnTypes,
SharedSessionContractImplementor session)
Put a result into the query cache.
|
default boolean |
QueryResultsCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session) |
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session)
Deprecated.
Put a result into the query cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Loader.putResultInQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key,
List result) |
Modifier and Type | Method and Description |
---|---|
protected void |
CustomLoader.putResultInQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key,
List result)
CustomLoader.resultTypes can be overridden by CustomLoader.autoDiscoverTypes(ResultSet) ,
*after* CustomLoader.list(SharedSessionContractImplementor, QueryParameters) has already been called. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.