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.internal |
JAXB details.
|
org.hibernate.boot.jaxb.hbm.spi | |
org.hibernate.cfg.annotations | |
org.hibernate.engine.spi | |
org.hibernate.envers.query | |
org.hibernate.envers.query.internal.impl | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.internal.util | |
org.hibernate.query | |
org.hibernate.query.criteria.internal.compile | |
org.hibernate.query.internal | |
org.hibernate.query.spi |
Modifier and Type | Method and Description |
---|---|
CacheMode |
Session.getCacheMode()
Get the current cache mode.
|
CacheMode |
BasicQueryContract.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
CacheMode |
Query.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
static CacheMode |
CacheMode.interpretExternalSetting(java.lang.String setting)
Used to interpret externalized forms of this enum.
|
static CacheMode |
CacheMode.valueOf(java.lang.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 |
---|---|
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.
|
CommonQueryContract |
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.
|
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 | Method and Description |
---|---|
static CacheMode |
CacheModeConverter.fromXml(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CacheModeConverter.toXml(CacheMode cacheMode) |
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(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.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 |
QueryHintDefinition.getCacheMode(java.lang.String query) |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
NamedQueryDefinitionBuilder.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
SharedSessionContractImplementor.getCacheMode() |
CacheMode |
NamedQueryDefinition.getCacheMode() |
CacheMode |
SessionDelegatorBaseImpl.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
NamedQueryDefinitionBuilder |
NamedQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
void |
SharedSessionContractImplementor.setCacheMode(CacheMode cm) |
void |
SessionDelegatorBaseImpl.setCacheMode(CacheMode cm) |
Constructor and Description |
---|
NamedQueryDefinition(java.lang.String name,
java.lang.String query,
boolean cacheable,
java.lang.String cacheRegion,
java.lang.Integer timeout,
java.lang.Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
java.lang.String comment,
java.util.Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedQueryDefinition(java.lang.String name,
java.lang.String query,
boolean cacheable,
java.lang.String cacheRegion,
java.lang.Integer timeout,
java.lang.Integer lockTimeout,
java.lang.Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
java.lang.String comment,
java.util.Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(java.lang.String name,
java.lang.String query,
NativeSQLQueryReturn[] queryReturns,
java.util.List<java.lang.String> querySpaces,
boolean cacheable,
java.lang.String cacheRegion,
java.lang.Integer timeout,
java.lang.Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
java.lang.String comment,
java.util.Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(java.lang.String name,
java.lang.String query,
java.lang.String resultSetRef,
java.util.List<java.lang.String> querySpaces,
boolean cacheable,
java.lang.String cacheRegion,
java.lang.Integer timeout,
java.lang.Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
java.lang.String comment,
java.util.Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
Modifier and Type | Method and Description |
---|---|
AuditQuery |
AuditQuery.setCacheMode(CacheMode cacheMode) |
AuditAssociationQuery<Q> |
AuditAssociationQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
AuditAssociationQueryImpl<Q> |
AuditAssociationQueryImpl.setCacheMode(CacheMode cacheMode) |
AuditQuery |
AbstractAuditQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
StatelessSessionImpl.getCacheMode() |
CacheMode |
AbstractSharedSessionContract.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
void |
StatelessSessionImpl.setCacheMode(CacheMode cm) |
void |
AbstractSharedSessionContract.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.Subcriteria.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Field and Description |
---|---|
static CacheMode |
CacheModeHelper.DEFAULT_LEGACY_MODE |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
CacheModeHelper.effectiveCacheMode(javax.persistence.CacheStoreMode storeMode,
javax.persistence.CacheRetrieveMode retrieveMode)
Given a JPA
CacheStoreMode and CacheRetrieveMode , determine the corresponding
legacy Hibernate CacheMode . |
static CacheMode |
ConfigurationHelper.getCacheMode(java.lang.Object value) |
static CacheMode |
CacheModeHelper.interpretCacheMode(javax.persistence.CacheStoreMode storeMode,
javax.persistence.CacheRetrieveMode retrieveMode)
Given a JPA
CacheStoreMode and CacheRetrieveMode , determine the corresponding
legacy Hibernate CacheMode . |
Modifier and Type | Method and Description |
---|---|
static javax.persistence.CacheRetrieveMode |
CacheModeHelper.interpretCacheRetrieveMode(CacheMode cacheMode) |
static javax.persistence.CacheStoreMode |
CacheModeHelper.interpretCacheStoreMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
Query.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NativeQuery<T> |
NativeQuery.setCacheMode(CacheMode cacheMode) |
Query<R> |
Query.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
CriteriaQueryTypeQueryAdapter.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
AbstractProducedQuery.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractProducedQuery.applyCacheModeHint(CacheMode cacheMode)
Apply the CacheMode hint.
|
NativeQueryImplementor<T> |
NativeQueryImpl.setCacheMode(CacheMode cacheMode) |
QueryImplementor |
AbstractProducedQuery.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-2018 Red Hat, Inc. All Rights Reserved.