Uses of Enum Class
org.hibernate.CacheMode
Packages that use CacheMode
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.JAXB details.
Support for handling named queries during the bootstrap process.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Defines the internal implementation of the stored procedure SPI.
Everything related to HQL/JPQL, native SQL, and criteria queries.
Implementation of the SPIs for HQL support.
SPIs for HQL support.
Support for named queries
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Implementation of the SPIs for native SQL query support.
SPIs for native SQL query support.
This package defines a semantic model of HQL queries.
Package for the SQM-backed Query implementation details
SPI-level SQM contracts
Implementation of the SPI for execution of SQL statements via JDBC.
-
Uses of CacheMode in org.hibernate
Methods in org.hibernate that return CacheModeModifier and TypeMethodDescriptionstatic CacheMode
CacheMode.fromJpaModes
(CacheRetrieveMode retrieveMode, CacheStoreMode storeMode) Interpret the given JPA modes as an instance of this enumeration.Session.getCacheMode()
Get the current cache mode for this session.static CacheMode
CacheMode.interpretExternalSetting
(String setting) Interpret externalized form as an instance of this enumeration.static CacheMode
Returns the enum constant of this class with the specified name.static CacheMode[]
CacheMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
Session.setCacheMode
(CacheMode cacheMode) Set the current cache mode for this session.Specify theCacheMode
to use when obtaining an entity.Specify theCacheMode
to use when obtaining an entity.Specify theCacheMode
to use when obtaining an entity. -
Uses of CacheMode in org.hibernate.boot.internal
Constructors in org.hibernate.boot.internal with parameters of type CacheModeModifierConstructorDescriptionNamedHqlQueryDefinitionImpl
(String name, @Nullable Class<E> resultType, String hqlString, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints, String location) NamedNativeQueryDefinitionImpl
(String name, @Nullable Class<E> resultType, String sqlString, String resultSetMappingName, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Integer firstResult, Integer maxResults, Map<String, Object> hints, String location) -
Uses of CacheMode in org.hibernate.boot.jaxb.hbm.internal
Methods in org.hibernate.boot.jaxb.hbm.internal that return CacheModeMethods in org.hibernate.boot.jaxb.hbm.internal with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.boot.jaxb.hbm.spi
Fields in org.hibernate.boot.jaxb.hbm.spi declared as CacheModeModifier and TypeFieldDescriptionprotected CacheMode
JaxbHbmNamedNativeQueryType.cacheMode
protected CacheMode
JaxbHbmNamedQueryType.cacheMode
Methods in org.hibernate.boot.jaxb.hbm.spi that return CacheModeModifier and TypeMethodDescriptionJaxbHbmNamedNativeQueryType.getCacheMode()
Gets the value of the cacheMode property.JaxbHbmNamedQueryType.getCacheMode()
Gets the value of the cacheMode property.Methods in org.hibernate.boot.jaxb.hbm.spi with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
JaxbHbmNamedNativeQueryType.setCacheMode
(CacheMode value) Sets the value of the cacheMode property.void
JaxbHbmNamedQueryType.setCacheMode
(CacheMode value) Sets the value of the cacheMode property. -
Uses of CacheMode in org.hibernate.boot.jaxb.mapping.internal
Methods in org.hibernate.boot.jaxb.mapping.internal that return CacheModeMethods in org.hibernate.boot.jaxb.mapping.internal with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.boot.jaxb.mapping.spi
Fields in org.hibernate.boot.jaxb.mapping.spi declared as CacheModeModifier and TypeFieldDescriptionprotected CacheMode
JaxbNamedHqlQueryImpl.cacheMode
protected CacheMode
JaxbNamedNativeQueryImpl.cacheMode
Methods in org.hibernate.boot.jaxb.mapping.spi that return CacheModeModifier and TypeMethodDescriptionJaxbNamedHqlQueryImpl.getCacheMode()
Gets the value of the cacheMode property.JaxbNamedNativeQueryImpl.getCacheMode()
Gets the value of the cacheMode property.JaxbNamedQuery.getCacheMode()
Methods in org.hibernate.boot.jaxb.mapping.spi with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
JaxbNamedHqlQueryImpl.setCacheMode
(CacheMode value) Sets the value of the cacheMode property.void
JaxbNamedNativeQueryImpl.setCacheMode
(CacheMode value) Sets the value of the cacheMode property. -
Uses of CacheMode in org.hibernate.boot.model.internal
Methods in org.hibernate.boot.model.internal that return CacheMode -
Uses of CacheMode in org.hibernate.boot.models.annotations.internal
Methods in org.hibernate.boot.models.annotations.internal that return CacheMode -
Uses of CacheMode in org.hibernate.boot.query
Methods in org.hibernate.boot.query that return CacheModeMethods in org.hibernate.boot.query with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return CacheModeConstructors in org.hibernate.boot.spi with parameters of type CacheModeModifierConstructorDescriptionAbstractNamedQueryDefinition
(String name, @Nullable Class<R> resultType, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints, String location) -
Uses of CacheMode in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CacheModeModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getCacheMode()
SessionLazyDelegator.getCacheMode()
SharedSessionContractImplementor.getCacheMode()
Get the currentCacheMode
for this session.SharedSessionDelegatorBaseImpl.getCacheMode()
Methods in org.hibernate.engine.spi with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
SessionDelegatorBaseImpl.setCacheMode
(CacheMode cm) void
SessionLazyDelegator.setCacheMode
(CacheMode cacheMode) void
SharedSessionContractImplementor.setCacheMode
(CacheMode cm) Set the currentCacheMode
for this session.void
SharedSessionDelegatorBaseImpl.setCacheMode
(CacheMode cm) -
Uses of CacheMode in org.hibernate.envers.query
Methods in org.hibernate.envers.query with parameters of type CacheModeModifier and TypeMethodDescriptionAuditAssociationQuery.setCacheMode
(CacheMode cacheMode) AuditQuery.setCacheMode
(CacheMode cacheMode) -
Uses of CacheMode in org.hibernate.envers.query.internal.impl
Methods in org.hibernate.envers.query.internal.impl with parameters of type CacheModeModifier and TypeMethodDescriptionAbstractAuditAssociationQuery.setCacheMode
(CacheMode cacheMode) AbstractAuditQuery.setCacheMode
(CacheMode cacheMode) -
Uses of CacheMode in org.hibernate.internal
Methods in org.hibernate.internal that return CacheModeModifier and TypeMethodDescriptionprotected CacheMode
SessionImpl.determineAppropriateLocalCacheMode
(Map<String, Object> localProperties) AbstractSharedSessionContract.getCacheMode()
StatelessSessionImpl.getCacheMode()
Methods in org.hibernate.internal with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
AbstractSharedSessionContract.setCacheMode
(CacheMode cacheMode) void
StatelessSessionImpl.setCacheMode
(CacheMode cm) -
Uses of CacheMode in org.hibernate.jpa.internal.util
Fields in org.hibernate.jpa.internal.util declared as CacheModeMethods in org.hibernate.jpa.internal.util that return CacheModeModifier and TypeMethodDescriptionstatic CacheMode
CacheModeHelper.effectiveCacheMode
(CacheStoreMode storeMode, CacheRetrieveMode retrieveMode) Given a JPACacheStoreMode
andCacheRetrieveMode
, determine the corresponding legacy HibernateCacheMode
.static CacheMode
ConfigurationHelper.getCacheMode
(Object value) static CacheMode
CacheModeHelper.interpretCacheMode
(CacheStoreMode storeMode, CacheRetrieveMode retrieveMode) Given a JPACacheStoreMode
andCacheRetrieveMode
, determine the corresponding legacy HibernateCacheMode
.Methods in org.hibernate.jpa.internal.util with parameters of type CacheModeModifier and TypeMethodDescriptionstatic CacheRetrieveMode
CacheModeHelper.interpretCacheRetrieveMode
(CacheMode cacheMode) static CacheStoreMode
CacheModeHelper.interpretCacheStoreMode
(CacheMode cacheMode) -
Uses of CacheMode in org.hibernate.loader.internal
Methods in org.hibernate.loader.internal with parameters of type CacheModeModifier and TypeMethodDescription -
Uses of CacheMode in org.hibernate.procedure.internal
Constructors in org.hibernate.procedure.internal with parameters of type CacheModeModifierConstructorDescriptionNamedCallableQueryMementoImpl
(String name, String callableName, ParameterStrategy parameterStrategy, List<NamedCallableQueryMemento.ParameterMemento> parameterMementos, String[] resultSetMappingNames, Class<?>[] resultSetMappingClasses, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints) Constructs a ProcedureCallImpl -
Uses of CacheMode in org.hibernate.query
Methods in org.hibernate.query that return CacheModeModifier and TypeMethodDescriptionSelectionQuery.getCacheMode()
Obtain theCacheMode
in effect for this query.Methods in org.hibernate.query with parameters of type CacheModeModifier and TypeMethodDescriptionNativeQuery.setCacheMode
(CacheMode cacheMode) Query.setCacheMode
(CacheMode cacheMode) SelectionQuery.setCacheMode
(CacheMode cacheMode) Set the currentCacheMode
in effect for this query. -
Uses of CacheMode in org.hibernate.query.criteria.internal
Constructors in org.hibernate.query.criteria.internal with parameters of type CacheModeModifierConstructorDescriptionNamedCriteriaQueryMementoImpl
(String name, @Nullable Class<E> resultType, SqmStatement<E> sqmStatement, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints) -
Uses of CacheMode in org.hibernate.query.hql.internal
Constructors in org.hibernate.query.hql.internal with parameters of type CacheModeModifierConstructorDescriptionNamedHqlQueryMementoImpl
(String name, @Nullable Class<R> resultType, String hqlString, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints) -
Uses of CacheMode in org.hibernate.query.hql.spi
Methods in org.hibernate.query.hql.spi with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.query.internal
Methods in org.hibernate.query.internal that return CacheModeMethods in org.hibernate.query.internal with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
NamedQueryHelper.NamedQueryDescriptorBuilder.setCacheMode
(CacheMode cacheMode) -
Uses of CacheMode in org.hibernate.query.named
Methods in org.hibernate.query.named that return CacheModeModifier and TypeMethodDescriptionAbstractNamedQueryMemento.getCacheMode()
NamedQueryMemento.getCacheMode()
Constructors in org.hibernate.query.named with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return CacheModeModifier and TypeMethodDescriptionAbstractSelectionQuery.getCacheMode()
DelegatingQueryOptions.getCacheMode()
default CacheMode
QueryOptions.getCacheMode()
QueryOptionsAdapter.getCacheMode()
QueryProducerImplementor.getCacheMode()
Methods in org.hibernate.query.spi with parameters of type CacheModeModifier and TypeMethodDescriptionAbstractQuery.setCacheMode
(CacheMode cacheMode) AbstractSelectionQuery.setCacheMode
(CacheMode cacheMode) default void
MutableQueryOptions.setCacheMode
(CacheMode cacheMode) Corollary toQueryOptions.getCacheMode()
-
Uses of CacheMode in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type CacheModeConstructors in org.hibernate.query.sql.internal with parameters of type CacheModeModifierConstructorDescriptionNamedNativeQueryMementoImpl
(String name, Class<E> resultClass, String sqlString, String originalSqlString, String resultSetMappingName, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Integer firstResult, Integer maxResults, Map<String, Object> hints) -
Uses of CacheMode in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.query.sqm
Methods in org.hibernate.query.sqm with parameters of type CacheMode -
Uses of CacheMode in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type CacheModeModifier and TypeMethodDescriptionQuerySqmImpl.setCacheMode
(CacheMode cacheMode) SqmSelectionQueryImpl.setCacheMode
(CacheMode cacheMode) -
Uses of CacheMode in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return CacheModeMethods in org.hibernate.query.sqm.spi with parameters of type CacheModeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setCacheMode
(CacheMode cacheMode) -
Uses of CacheMode in org.hibernate.sql.exec.internal
Methods in org.hibernate.sql.exec.internal that return CacheModeModifier and TypeMethodDescriptionstatic CacheMode
JdbcExecHelper.resolveCacheMode
(CacheMode override, SharedSessionContractImplementor session) static CacheMode
JdbcExecHelper.resolveCacheMode
(QueryOptions options, SharedSessionContractImplementor session) static CacheMode
JdbcExecHelper.resolveCacheMode
(ExecutionContext executionContext) Methods in org.hibernate.sql.exec.internal with parameters of type CacheModeModifier and TypeMethodDescriptionstatic CacheMode
JdbcExecHelper.resolveCacheMode
(CacheMode override, SharedSessionContractImplementor session)