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.A set of mapping annotations which extend the O/R mapping annotations defined by JPA.
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.
Everything related to HQL/JPQL, native SQL, and criteria queries.
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.
SPIs for native SQL query support.
This package defines a semantic model of HQL queries.
SPI-level SQM contracts
-
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.annotations
Methods in org.hibernate.annotations that return CacheModeMethods in org.hibernate.annotations with parameters of type CacheModeModifier and TypeMethodDescriptionstatic CacheModeType
CacheModeType.fromCacheMode
(CacheMode cacheMode) Deprecated.Conversion fromCacheMode
toCacheModeType
. -
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.spi
Fields in org.hibernate.boot.jaxb.mapping.spi declared as CacheModeModifier and TypeFieldDescriptionprotected CacheMode
JaxbNamedNativeQueryImpl.cacheMode
protected CacheMode
JaxbNamedQueryImpl.cacheMode
Methods in org.hibernate.boot.jaxb.mapping.spi that return CacheModeModifier and TypeMethodDescriptionJaxbNamedNativeQueryImpl.getCacheMode()
Gets the value of the cacheMode property.JaxbNamedQueryImpl.getCacheMode()
Gets the value of the cacheMode property.Methods in org.hibernate.boot.jaxb.mapping.spi with parameters of type CacheModeModifier and TypeMethodDescriptionvoid
JaxbNamedNativeQueryImpl.setCacheMode
(CacheMode value) Sets the value of the cacheMode property.void
JaxbNamedQueryImpl.setCacheMode
(CacheMode value) Sets the value of the cacheMode property. -
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) -
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.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.hql.spi
Methods in org.hibernate.query.hql.spi with parameters of type 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 TypeMethodDescriptionprotected void
AbstractCommonQueryContract.applyCacheModeHint
(CacheMode cacheMode) AbstractQuery.setCacheMode
(CacheMode cacheMode) AbstractSelectionQuery.setCacheMode
(CacheMode cacheMode) default void
MutableQueryOptions.setCacheMode
(CacheMode cacheMode) Corollary toQueryOptions.getCacheMode()
-
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.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)