Uses of Enum Class
org.hibernate.CacheMode
Packages that useCacheMode
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 ofSession andStatelessSession, 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
Uses ofCacheMode inorg.hibernate
Methods inorg.hibernate that returnCacheModeModifier and TypeMethodDescriptionstaticCacheModeCacheMode.fromJpaModes(CacheRetrieveMode retrieveMode,CacheStoreMode storeMode) Interpret the given JPA modes as an instance of this enumeration.Session.getCacheMode()Get the currentcache mode for this session.SharedSessionContract.getCacheMode()Get the currentcache mode for this session.staticCacheModeCacheMode.interpretExternalSetting(String setting) Interpret externalized form as an instance of this enumeration.staticCacheModeReturns the enum constant of this class with the specified name.staticCacheMode[]CacheMode.values()Returns an array containing the constants of this enum class, inthe order they are declared.Methods inorg.hibernate with parameters of typeCacheModeModifier and TypeMethodDescriptionvoidSession.setCacheMode(CacheMode cacheMode) Set the currentcache mode for this session.voidSharedSessionContract.setCacheMode(CacheMode cacheMode) Set the currentcache 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 ofCacheMode inorg.hibernate.boot.internal
Methods inorg.hibernate.boot.internal that returnCacheModeConstructors inorg.hibernate.boot.internal with parameters of typeCacheModeModifierConstructorDescriptionNamedHqlQueryDefinitionImpl(String name, @NullableClass<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, @NullableClass<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 ofCacheMode inorg.hibernate.boot.jaxb.hbm.internal
Methods inorg.hibernate.boot.jaxb.hbm.internal that returnCacheModeMethods inorg.hibernate.boot.jaxb.hbm.internal with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.boot.jaxb.hbm.spi
Fields inorg.hibernate.boot.jaxb.hbm.spi declared asCacheModeModifier and TypeFieldDescriptionprotectedCacheModeJaxbHbmNamedNativeQueryType.cacheModeprotectedCacheModeJaxbHbmNamedQueryType.cacheModeMethods inorg.hibernate.boot.jaxb.hbm.spi that returnCacheModeModifier and TypeMethodDescriptionJaxbHbmNamedNativeQueryType.getCacheMode()Gets the value of the cacheMode property.JaxbHbmNamedQueryType.getCacheMode()Gets the value of the cacheMode property.Methods inorg.hibernate.boot.jaxb.hbm.spi with parameters of typeCacheModeModifier and TypeMethodDescriptionvoidJaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value) Sets the value of the cacheMode property.voidJaxbHbmNamedQueryType.setCacheMode(CacheMode value) Sets the value of the cacheMode property.Uses ofCacheMode inorg.hibernate.boot.jaxb.mapping.internal
Methods inorg.hibernate.boot.jaxb.mapping.internal that returnCacheModeMethods inorg.hibernate.boot.jaxb.mapping.internal with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.boot.jaxb.mapping.spi
Fields inorg.hibernate.boot.jaxb.mapping.spi declared asCacheModeModifier and TypeFieldDescriptionprotectedCacheModeJaxbNamedHqlQueryImpl.cacheModeprotectedCacheModeJaxbNamedNativeQueryImpl.cacheModeMethods inorg.hibernate.boot.jaxb.mapping.spi that returnCacheModeModifier and TypeMethodDescriptionJaxbNamedHqlQueryImpl.getCacheMode()Gets the value of the cacheMode property.JaxbNamedNativeQueryImpl.getCacheMode()Gets the value of the cacheMode property.JaxbNamedQuery.getCacheMode()Methods inorg.hibernate.boot.jaxb.mapping.spi with parameters of typeCacheModeModifier and TypeMethodDescriptionvoidJaxbNamedHqlQueryImpl.setCacheMode(CacheMode value) Sets the value of the cacheMode property.voidJaxbNamedNativeQueryImpl.setCacheMode(CacheMode value) Sets the value of the cacheMode property.Uses ofCacheMode inorg.hibernate.boot.model.internal
Methods inorg.hibernate.boot.model.internal that returnCacheModeUses ofCacheMode inorg.hibernate.boot.models.annotations.internal
Methods inorg.hibernate.boot.models.annotations.internal that returnCacheModeUses ofCacheMode inorg.hibernate.boot.query
Methods inorg.hibernate.boot.query that returnCacheModeMethods inorg.hibernate.boot.query with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.boot.spi
Methods inorg.hibernate.boot.spi that returnCacheModeModifier and TypeMethodDescriptionAbstractNamedQueryDefinition.getCacheMode()AbstractDelegatingSessionFactoryOptions.getInitialSessionCacheMode()SessionFactoryOptions.getInitialSessionCacheMode()The default initialCacheModefor new sessions.Constructors inorg.hibernate.boot.spi with parameters of typeCacheModeModifierConstructorDescriptionAbstractNamedQueryDefinition(String name, @NullableClass<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 ofCacheMode inorg.hibernate.engine.spi
Methods inorg.hibernate.engine.spi that returnCacheModeModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getCacheMode()SessionLazyDelegator.getCacheMode()SharedSessionDelegatorBaseImpl.getCacheMode()Methods inorg.hibernate.engine.spi with parameters of typeCacheModeModifier and TypeMethodDescriptionvoidSessionDelegatorBaseImpl.setCacheMode(CacheMode cacheMode) voidSessionLazyDelegator.setCacheMode(CacheMode cacheMode) voidSharedSessionDelegatorBaseImpl.setCacheMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.envers.query
Methods inorg.hibernate.envers.query with parameters of typeCacheModeModifier and TypeMethodDescriptionAuditAssociationQuery.setCacheMode(CacheMode cacheMode) AuditQuery.setCacheMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.envers.query.internal.impl
Methods inorg.hibernate.envers.query.internal.impl with parameters of typeCacheModeModifier and TypeMethodDescriptionAbstractAuditAssociationQuery.setCacheMode(CacheMode cacheMode) AbstractAuditQuery.setCacheMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.internal
Methods inorg.hibernate.internal that returnCacheModeModifier and TypeMethodDescriptionprotectedCacheModeSessionImpl.determineAppropriateLocalCacheMode(Map<String, Object> localProperties) AbstractSharedSessionContract.getCacheMode()Methods inorg.hibernate.internal with parameters of typeCacheModeModifier and TypeMethodDescriptionvoidAbstractSharedSessionContract.setCacheMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.jpa.internal.util
Fields inorg.hibernate.jpa.internal.util declared asCacheModeMethods inorg.hibernate.jpa.internal.util that returnCacheModeModifier and TypeMethodDescriptionstaticCacheModeCacheModeHelper.effectiveCacheMode(CacheStoreMode storeMode,CacheRetrieveMode retrieveMode) Given a JPACacheStoreModeandCacheRetrieveMode, determine the corresponding legacy HibernateCacheMode.staticCacheModeConfigurationHelper.getCacheMode(Object value) staticCacheModeCacheModeHelper.interpretCacheMode(CacheStoreMode storeMode,CacheRetrieveMode retrieveMode) Given a JPACacheStoreModeandCacheRetrieveMode, determine the corresponding legacy HibernateCacheMode.Methods inorg.hibernate.jpa.internal.util with parameters of typeCacheModeModifier and TypeMethodDescriptionstaticCacheRetrieveModeCacheModeHelper.interpretCacheRetrieveMode(CacheMode cacheMode) staticCacheStoreModeCacheModeHelper.interpretCacheStoreMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.loader.internal
Methods inorg.hibernate.loader.internal that returnCacheModeMethods inorg.hibernate.loader.internal with parameters of typeCacheModeModifier and TypeMethodDescriptionUses ofCacheMode inorg.hibernate.procedure.internal
Constructors inorg.hibernate.procedure.internal with parameters of typeCacheModeModifierConstructorDescriptionNamedCallableQueryMementoImpl(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 ProcedureCallImplUses ofCacheMode inorg.hibernate.query
Methods inorg.hibernate.query that returnCacheModeModifier and TypeMethodDescriptionSelectionQuery.getCacheMode()Obtain theCacheModein effect for this query.Methods inorg.hibernate.query with parameters of typeCacheModeModifier and TypeMethodDescriptionNativeQuery.setCacheMode(CacheMode cacheMode) Query.setCacheMode(CacheMode cacheMode) SelectionQuery.setCacheMode(CacheMode cacheMode) Set the currentCacheModein effect for this query.Uses ofCacheMode inorg.hibernate.query.criteria.internal
Constructors inorg.hibernate.query.criteria.internal with parameters of typeCacheModeModifierConstructorDescriptionNamedCriteriaQueryMementoImpl(String name, @NullableClass<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 ofCacheMode inorg.hibernate.query.hql.internal
Constructors inorg.hibernate.query.hql.internal with parameters of typeCacheModeModifierConstructorDescriptionNamedHqlQueryMementoImpl(String name, @NullableClass<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 ofCacheMode inorg.hibernate.query.hql.spi
Methods inorg.hibernate.query.hql.spi with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.query.internal
Methods inorg.hibernate.query.internal that returnCacheModeMethods inorg.hibernate.query.internal with parameters of typeCacheModeModifier and TypeMethodDescriptionvoidNamedQueryHelper.NamedQueryDescriptorBuilder.setCacheMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.query.named
Methods inorg.hibernate.query.named that returnCacheModeModifier and TypeMethodDescriptionAbstractNamedQueryMemento.getCacheMode()NamedQueryMemento.getCacheMode()Constructors inorg.hibernate.query.named with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.query.spi
Methods inorg.hibernate.query.spi that returnCacheModeModifier and TypeMethodDescriptionAbstractSelectionQuery.getCacheMode()DelegatingQueryOptions.getCacheMode()defaultCacheModeQueryOptions.getCacheMode()QueryOptionsAdapter.getCacheMode()QueryProducerImplementor.getCacheMode()Deprecated, for removal: This API element is subject to removal in a future version.Methods inorg.hibernate.query.spi with parameters of typeCacheModeModifier and TypeMethodDescriptionAbstractQuery.setCacheMode(CacheMode cacheMode) AbstractSelectionQuery.setCacheMode(CacheMode cacheMode) default voidMutableQueryOptions.setCacheMode(CacheMode cacheMode) Corollary toQueryOptions.getCacheMode()Uses ofCacheMode inorg.hibernate.query.sql.internal
Methods inorg.hibernate.query.sql.internal with parameters of typeCacheModeConstructors inorg.hibernate.query.sql.internal with parameters of typeCacheModeModifierConstructorDescriptionNamedNativeQueryMementoImpl(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 ofCacheMode inorg.hibernate.query.sql.spi
Methods inorg.hibernate.query.sql.spi with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.query.sqm
Methods inorg.hibernate.query.sqm with parameters of typeCacheModeUses ofCacheMode inorg.hibernate.query.sqm.internal
Methods inorg.hibernate.query.sqm.internal with parameters of typeCacheModeModifier and TypeMethodDescriptionQuerySqmImpl.setCacheMode(CacheMode cacheMode) SqmSelectionQueryImpl.setCacheMode(CacheMode cacheMode) Uses ofCacheMode inorg.hibernate.query.sqm.spi
Methods inorg.hibernate.query.sqm.spi that returnCacheModeMethods inorg.hibernate.query.sqm.spi with parameters of typeCacheModeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setCacheMode(CacheMode cacheMode)