Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.annotations |
Package containing all the Hibernate specific annotations.
|
org.hibernate.boot.jaxb.hbm.spi | |
org.hibernate.boot.query | |
org.hibernate.boot.spi | |
org.hibernate.cfg.annotations | |
org.hibernate.engine.spi | |
org.hibernate.loader.access | |
org.hibernate.query | |
org.hibernate.query.named | |
org.hibernate.query.spi | |
org.hibernate.query.sql.spi |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
CacheMode.fromJpaModes(CacheRetrieveMode retrieveMode,
CacheStoreMode storeMode) |
CacheMode |
Session.getCacheMode()
Get the current cache mode.
|
static CacheMode |
CacheMode.interpretExternalSetting(String setting)
Used to interpret externalized forms of this enum.
|
static CacheMode |
CacheMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheMode[] |
CacheMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.setCacheMode(CacheMode cacheMode)
Set the cache mode.
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
NaturalIdMultiLoadAccess<T> |
NaturalIdMultiLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
CacheMode |
CacheModeType.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
static CacheModeType |
CacheModeType.fromCacheMode(CacheMode cacheMode)
Conversion from
CacheMode to CacheModeType . |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
JaxbHbmNamedNativeQueryType.cacheMode |
protected CacheMode |
JaxbHbmNamedQueryType.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
JaxbHbmNamedNativeQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
JaxbHbmNamedQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
Adapter1.unmarshal(String value) |
Modifier and Type | Method and Description |
---|---|
String |
Adapter1.marshal(CacheMode value) |
void |
JaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
void |
JaxbHbmNamedQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
Modifier and Type | Method and Description |
---|---|
CacheMode |
AbstractNamedQueryBuilder.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NamedNativeQueryDefinitionBuilder |
NamedNativeQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
T |
AbstractNamedQueryBuilder.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
AbstractNamedQueryDefinition.getCacheMode() |
Constructor and Description |
---|
AbstractNamedQueryDefinition(String name,
Boolean cacheable,
String cacheRegion,
CacheMode cacheMode,
FlushMode flushMode,
Boolean readOnly,
LockOptions lockOptions,
Integer timeout,
Integer fetchSize,
String comment,
Map<String,Object> hints) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
QueryHintDefinition.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
CacheMode |
SharedSessionContractImplementor.getCacheMode() |
CacheMode |
SessionDelegatorBaseImpl.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
void |
SharedSessionContractImplementor.setCacheMode(CacheMode cm) |
void |
SessionDelegatorBaseImpl.setCacheMode(CacheMode cm) |
Modifier and Type | Method and Description |
---|---|
IdentifierLoadAccess<T> |
IdentifierLoadAccessImpl.with(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
CommonQueryContract.getCacheMode()
Obtain the CacheMode in effect for this query.
|
Modifier and Type | Method and Description |
---|---|
NativeQuery<T> |
NativeQuery.setCacheMode(CacheMode cacheMode) |
Query<R> |
Query.setCacheMode(CacheMode cacheMode) |
CommonQueryContract |
CommonQueryContract.setCacheMode(CacheMode cacheMode)
(Re)set the current CacheMode in effect for this query.
|
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
AbstractNamedQueryMemento.AbstractBuilder.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
NamedQueryMemento.getCacheMode() |
CacheMode |
AbstractNamedQueryMemento.getCacheMode() |
CacheMode |
AbstractNamedQueryMemento.AbstractBuilder.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractNamedQueryMemento.AbstractBuilder.setCacheMode(CacheMode cacheMode) |
Constructor and Description |
---|
AbstractNamedQueryMemento(String name,
Boolean cacheable,
String cacheRegion,
CacheMode cacheMode,
FlushMode flushMode,
Boolean readOnly,
Integer timeout,
Integer fetchSize,
String comment,
Map<String,Object> hints) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
AbstractQuery.getCacheMode() |
default CacheMode |
QueryOptions.getCacheMode() |
CacheMode |
QueryProducerImplementor.getCacheMode() |
CacheMode |
QueryOptionsAdapter.getCacheMode() |
CacheMode |
DelegatingQueryOptions.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractQuery.applyCacheModeHint(CacheMode cacheMode)
Apply the CacheMode hint.
|
QueryImplementor<R> |
AbstractQuery.setCacheMode(CacheMode cacheMode) |
default void |
MutableQueryOptions.setCacheMode(CacheMode cacheMode)
Corollary to
QueryOptions.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<R> |
NativeQueryImplementor.setCacheMode(CacheMode cacheMode) |
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.