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.engine.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 | Class and Description |
---|---|
class |
QueryResultsCacheImpl
The standard implementation of the Hibernate QueryCache interface.
|
Modifier and Type | Method and Description |
---|---|
QueryResultsCache |
EnabledCaching.getDefaultQueryResultsCache() |
QueryResultsCache |
DisabledCaching.getDefaultQueryResultsCache() |
QueryResultsCache |
EnabledCaching.getQueryResultsCache(String regionName) |
QueryResultsCache |
DisabledCaching.getQueryResultsCache(String regionName) |
QueryResultsCache |
EnabledCaching.getQueryResultsCacheStrictly(String regionName) |
QueryResultsCache |
DisabledCaching.getQueryResultsCacheStrictly(String regionName) |
protected QueryResultsCache |
EnabledCaching.makeQueryResultsRegionAccess(String regionName) |
Modifier and Type | Method and Description |
---|---|
QueryResultsCache |
CacheImplementor.getDefaultQueryResultsCache()
Access to the "default" region used to store query results when caching
was requested but no region was explicitly named.
|
QueryResultsCache |
CacheImplementor.getQueryResultsCache(String regionName)
Get query cache by region name or create a new one if none exist.
|
QueryResultsCache |
CacheImplementor.getQueryResultsCacheStrictly(String regionName)
Get the named QueryResultRegionAccess but not creating one if it
does not already exist.
|
Modifier and Type | Method and Description |
---|---|
QueryResultsCache |
CacheImplementor.getDefaultQueryResultsCache()
Deprecated.
Access to the "default" region used to store query results when caching
was requested but no region was explicitly named.
|
QueryResultsCache |
CacheImplementor.getQueryResultsCache(String regionName)
Deprecated.
Get query cache by region name or create a new one if none exist.
|
QueryResultsCache |
CacheImplementor.getQueryResultsCacheStrictly(String regionName)
Deprecated.
Get the named QueryResultRegionAccess but not creating one if it
does not already exist.
|
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.