Package | Description |
---|---|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cache.spi |
Defines the Hibernate second level caching SPI.
|
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 |
StandardQueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SessionImplementor session) |
boolean |
StandardQueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
static QueryKey |
QueryKey.generateQueryKey(String queryString,
QueryParameters queryParameters,
Set filterKeys,
SessionImplementor session,
CacheableResultTransformer customTransformer)
Generates a QueryKey.
|
Modifier and Type | Method and Description |
---|---|
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SessionImplementor session)
Get results from the cache.
|
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session)
Put a result into the query cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Loader.putResultInQueryCache(SessionImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryCache queryCache,
QueryKey key,
List result) |
Modifier and Type | Method and Description |
---|---|
protected void |
CustomLoader.putResultInQueryCache(SessionImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryCache queryCache,
QueryKey key,
List result)
CustomLoader.resultTypes can be overridden by CustomLoader.autoDiscoverTypes(ResultSet) ,
*after* CustomLoader.list(SessionImplementor, QueryParameters) has already been called. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.