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.cfg.annotations | |
org.hibernate.engine.spi | |
org.hibernate.query | |
org.hibernate.query.spi |
Modifier and Type | Method and Description |
---|---|
CacheMode |
BasicQueryContract.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
CacheMode |
Query.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
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 |
---|---|
T |
BasicQueryContract.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
Query<R> |
Query.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
Criteria |
Criteria.setCacheMode(CacheMode cacheMode)
Override the cache mode for this particular query.
|
void |
Session.setCacheMode(CacheMode cacheMode)
Set the cache mode.
|
NativeQuery<T> |
SQLQuery.setCacheMode(CacheMode cacheMode)
Deprecated.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.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 |
JaxbHbmNamedQueryType.cacheMode |
protected CacheMode |
JaxbHbmNamedNativeQueryType.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
JaxbHbmNamedQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
JaxbHbmNamedNativeQueryType.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 |
JaxbHbmNamedQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
void |
JaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
Modifier and Type | Method and Description |
---|---|
CacheMode |
QueryHintDefinition.getCacheMode(String query) |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
NamedQueryDefinitionBuilder.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
NamedQueryDefinition.getCacheMode() |
CacheMode |
SessionDelegatorBaseImpl.getCacheMode() |
CacheMode |
SharedSessionContractImplementor.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinitionBuilder |
NamedQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
void |
SessionDelegatorBaseImpl.setCacheMode(CacheMode cm) |
void |
SharedSessionContractImplementor.setCacheMode(CacheMode cm) |
Constructor and Description |
---|
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer lockTimeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(String name,
String query,
NativeSQLQueryReturn[] queryReturns,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(String name,
String query,
String resultSetRef,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
Modifier and Type | Method and Description |
---|---|
CacheMode |
Query.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
Query<R> |
Query.setCacheMode(CacheMode cacheMode) |
NativeQuery<T> |
NativeQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
QueryProducerImplementor.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImplementor.setCacheMode(CacheMode cacheMode) |
Copyright © 2001-2019 Red Hat, Inc. All Rights Reserved.