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 CacheModeCacheMode.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 CacheModeCacheMode.interpretExternalSetting(String setting) Interpret externalized form as an instance of this enumeration.static CacheModeReturns 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 TypeMethodDescriptionvoidSession.setCacheMode(CacheMode cacheMode) Set the current cache mode for this session.Specify theCacheModeto use when obtaining an entity.Specify theCacheModeto use when obtaining an entity.Specify theCacheModeto 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 CacheModeTypeCacheModeType.fromCacheMode(CacheMode cacheMode) Deprecated.Conversion fromCacheModetoCacheModeType. -
Uses of CacheMode in org.hibernate.boot.jaxb.hbm.spi
Fields in org.hibernate.boot.jaxb.hbm.spi declared as CacheModeModifier and TypeFieldDescriptionprotected CacheModeJaxbHbmNamedNativeQueryType.cacheModeprotected CacheModeJaxbHbmNamedQueryType.cacheModeMethods 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 TypeMethodDescriptionvoidJaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value) Sets the value of the cacheMode property.voidJaxbHbmNamedQueryType.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 CacheModeJaxbNamedNativeQueryImpl.cacheModeprotected CacheModeJaxbNamedQueryImpl.cacheModeMethods 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 TypeMethodDescriptionvoidJaxbNamedNativeQueryImpl.setCacheMode(CacheMode value) Sets the value of the cacheMode property.voidJaxbNamedQueryImpl.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 CacheMode -
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 currentCacheModefor this session.SharedSessionDelegatorBaseImpl.getCacheMode()Methods in org.hibernate.engine.spi with parameters of type CacheModeModifier and TypeMethodDescriptionvoidSessionDelegatorBaseImpl.setCacheMode(CacheMode cm) voidSessionLazyDelegator.setCacheMode(CacheMode cacheMode) voidSharedSessionContractImplementor.setCacheMode(CacheMode cm) Set the currentCacheModefor this session.voidSharedSessionDelegatorBaseImpl.setCacheMode(CacheMode cm) -
Uses of CacheMode in org.hibernate.query
Methods in org.hibernate.query that return CacheModeModifier and TypeMethodDescriptionSelectionQuery.getCacheMode()Obtain theCacheModein 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 currentCacheModein 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
Fields in org.hibernate.query.named declared as CacheModeModifier and TypeFieldDescriptionprotected CacheModeAbstractNamedQueryMemento.AbstractBuilder.cacheModeMethods in org.hibernate.query.named that return CacheModeModifier and TypeMethodDescriptionAbstractNamedQueryMemento.AbstractBuilder.getCacheMode()AbstractNamedQueryMemento.getCacheMode()NamedQueryMemento.getCacheMode()Methods in org.hibernate.query.named with parameters of type CacheModeModifier and TypeMethodDescriptionAbstractNamedQueryMemento.AbstractBuilder.setCacheMode(CacheMode cacheMode) 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 CacheModeQueryOptions.getCacheMode()QueryOptionsAdapter.getCacheMode()QueryProducerImplementor.getCacheMode()Methods in org.hibernate.query.spi with parameters of type CacheModeModifier and TypeMethodDescriptionprotected voidAbstractCommonQueryContract.applyCacheModeHint(CacheMode cacheMode) AbstractQuery.setCacheMode(CacheMode cacheMode) AbstractSelectionQuery.setCacheMode(CacheMode cacheMode) default voidMutableQueryOptions.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)