Uses of Class
org.hibernate.CacheMode
-
-
Uses of CacheMode in org.hibernate
Methods in org.hibernate that return CacheMode Modifier and Type Method Description static CacheMode
CacheMode. fromJpaModes(jakarta.persistence.CacheRetrieveMode retrieveMode, jakarta.persistence.CacheStoreMode storeMode)
CacheMode
Session. getCacheMode()
Get the currentcache mode
for this session.static CacheMode
CacheMode. interpretExternalSetting(String setting)
Used to interpret externalized forms of this enum.static CacheMode
CacheMode. valueOf(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.Methods in org.hibernate with parameters of type CacheMode Modifier and Type Method Description void
Session. setCacheMode(CacheMode cacheMode)
Set the currentcache mode
for this session.IdentifierLoadAccess<T>
IdentifierLoadAccess. with(CacheMode cacheMode)
Specify theCacheMode
to use when retrieving the entity.MultiIdentifierLoadAccess<T>
MultiIdentifierLoadAccess. with(CacheMode cacheMode)
Specify theCacheMode
to use when retrieving the entity.NaturalIdMultiLoadAccess<T>
NaturalIdMultiLoadAccess. with(CacheMode cacheMode)
Specify theCacheMode
to use when retrieving the entity. -
Uses of CacheMode in org.hibernate.annotations
Methods in org.hibernate.annotations that return CacheMode Modifier and Type Method Description CacheMode
CacheModeType. getCacheMode()
Methods in org.hibernate.annotations with parameters of type CacheMode Modifier and Type Method Description static CacheModeType
CacheModeType. fromCacheMode(CacheMode cacheMode)
Conversion fromCacheMode
toCacheModeType
. -
Uses of CacheMode in org.hibernate.boot.internal
Constructors in org.hibernate.boot.internal with parameters of type CacheMode Constructor Description NamedHqlQueryDefinitionImpl(String name, 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)
NamedNativeQueryDefinitionImpl(String name, String sqlString, String resultSetMappingName, String resultSetMappingClassName, 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.boot.jaxb.hbm.internal
Methods in org.hibernate.boot.jaxb.hbm.internal that return CacheMode Modifier and Type Method Description static CacheMode
CacheModeConverter. fromXml(String name)
Methods in org.hibernate.boot.jaxb.hbm.internal with parameters of type CacheMode Modifier and Type Method Description static String
CacheModeConverter. toXml(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.boot.jaxb.hbm.spi
Fields in org.hibernate.boot.jaxb.hbm.spi declared as CacheMode Modifier and Type Field Description protected CacheMode
JaxbHbmNamedNativeQueryType. cacheMode
protected CacheMode
JaxbHbmNamedQueryType. cacheMode
Methods in org.hibernate.boot.jaxb.hbm.spi that return CacheMode Modifier and Type Method Description CacheMode
JaxbHbmNamedNativeQueryType. getCacheMode()
Gets the value of the cacheMode property.CacheMode
JaxbHbmNamedQueryType. getCacheMode()
Gets the value of the cacheMode property.CacheMode
Adapter1. unmarshal(String value)
Methods in org.hibernate.boot.jaxb.hbm.spi with parameters of type CacheMode Modifier and Type Method Description 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. -
Uses of CacheMode in org.hibernate.boot.jaxb.mapping
Fields in org.hibernate.boot.jaxb.mapping declared as CacheMode Modifier and Type Field Description protected CacheMode
JaxbNamedNativeQuery. cacheMode
protected CacheMode
JaxbNamedQuery. cacheMode
Methods in org.hibernate.boot.jaxb.mapping that return CacheMode Modifier and Type Method Description CacheMode
JaxbNamedNativeQuery. getCacheMode()
Gets the value of the cacheMode property.CacheMode
JaxbNamedQuery. getCacheMode()
Gets the value of the cacheMode property.CacheMode
Adapter15. unmarshal(String value)
Methods in org.hibernate.boot.jaxb.mapping with parameters of type CacheMode Modifier and Type Method Description String
Adapter15. marshal(CacheMode value)
void
JaxbNamedNativeQuery. setCacheMode(CacheMode value)
Sets the value of the cacheMode property.void
JaxbNamedQuery. setCacheMode(CacheMode value)
Sets the value of the cacheMode property. -
Uses of CacheMode in org.hibernate.boot.jaxb.mapping.marshall
Methods in org.hibernate.boot.jaxb.mapping.marshall that return CacheMode Modifier and Type Method Description static CacheMode
CacheModeMarshalling. fromXml(String name)
Methods in org.hibernate.boot.jaxb.mapping.marshall with parameters of type CacheMode Modifier and Type Method Description static String
CacheModeMarshalling. toXml(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.boot.query
Methods in org.hibernate.boot.query that return CacheMode Modifier and Type Method Description CacheMode
AbstractNamedQueryBuilder. getCacheMode()
Methods in org.hibernate.boot.query with parameters of type CacheMode Modifier and Type Method Description T
AbstractNamedQueryBuilder. setCacheMode(CacheMode cacheMode)
NamedNativeQueryDefinitionBuilder
NamedNativeQueryDefinitionBuilder. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return CacheMode Modifier and Type Method Description CacheMode
AbstractNamedQueryDefinition. getCacheMode()
Constructors in org.hibernate.boot.spi with parameters of type CacheMode Constructor Description AbstractNamedQueryDefinition(String name, 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.cfg.annotations
Methods in org.hibernate.cfg.annotations that return CacheMode Modifier and Type Method Description CacheMode
QueryHintDefinition. getCacheMode()
-
Uses of CacheMode in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CacheMode Modifier and Type Method Description CacheMode
SessionDelegatorBaseImpl. getCacheMode()
CacheMode
SessionLazyDelegator. getCacheMode()
CacheMode
SharedSessionContractImplementor. getCacheMode()
Methods in org.hibernate.engine.spi with parameters of type CacheMode Modifier and Type Method Description void
SessionDelegatorBaseImpl. setCacheMode(CacheMode cm)
void
SessionLazyDelegator. setCacheMode(CacheMode cacheMode)
void
SharedSessionContractImplementor. setCacheMode(CacheMode cm)
-
Uses of CacheMode in org.hibernate.envers.query
Methods in org.hibernate.envers.query with parameters of type CacheMode Modifier and Type Method Description AuditAssociationQuery<Q>
AuditAssociationQuery. setCacheMode(CacheMode cacheMode)
AuditQuery
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 CacheMode Modifier and Type Method Description AbstractAuditAssociationQuery<Q>
AbstractAuditAssociationQuery. setCacheMode(CacheMode cacheMode)
AuditQuery
AbstractAuditQuery. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.internal
Methods in org.hibernate.internal that return CacheMode Modifier and Type Method Description protected CacheMode
SessionImpl. determineAppropriateLocalCacheMode(Map<String,Object> localProperties)
CacheMode
AbstractSharedSessionContract. getCacheMode()
CacheMode
StatelessSessionImpl. getCacheMode()
Methods in org.hibernate.internal with parameters of type CacheMode Modifier and Type Method Description void
AbstractSharedSessionContract. setCacheMode(CacheMode cacheMode)
void
StatelessSessionImpl. setCacheMode(CacheMode cm)
NaturalIdMultiLoadAccess<T>
NaturalIdMultiLoadAccessStandard. with(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.jpa.internal.util
Fields in org.hibernate.jpa.internal.util declared as CacheMode Modifier and Type Field Description static CacheMode
CacheModeHelper. DEFAULT_LEGACY_MODE
Methods in org.hibernate.jpa.internal.util that return CacheMode Modifier and Type Method Description static CacheMode
CacheModeHelper. effectiveCacheMode(jakarta.persistence.CacheStoreMode storeMode, jakarta.persistence.CacheRetrieveMode retrieveMode)
Given a JPACacheStoreMode
andCacheRetrieveMode
, determine the corresponding legacy HibernateCacheMode
.static CacheMode
ConfigurationHelper. getCacheMode(Object value)
static CacheMode
CacheModeHelper. interpretCacheMode(jakarta.persistence.CacheStoreMode storeMode, jakarta.persistence.CacheRetrieveMode retrieveMode)
Given a JPACacheStoreMode
andCacheRetrieveMode
, determine the corresponding legacy HibernateCacheMode
.Methods in org.hibernate.jpa.internal.util with parameters of type CacheMode Modifier and Type Method Description static jakarta.persistence.CacheRetrieveMode
CacheModeHelper. interpretCacheRetrieveMode(CacheMode cacheMode)
static jakarta.persistence.CacheStoreMode
CacheModeHelper. interpretCacheStoreMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.loader.access
Methods in org.hibernate.loader.access with parameters of type CacheMode Modifier and Type Method Description IdentifierLoadAccess<T>
IdentifierLoadAccessImpl. with(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.procedure.internal
Constructors in org.hibernate.procedure.internal with parameters of type CacheMode Constructor Description NamedCallableQueryMementoImpl(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 CacheMode Modifier and Type Method Description CacheMode
SelectionQuery. getCacheMode()
Obtain the CacheMode in effect for this query.Methods in org.hibernate.query with parameters of type CacheMode Modifier and Type Method Description NativeQuery<T>
NativeQuery. setCacheMode(CacheMode cacheMode)
Query<R>
Query. setCacheMode(CacheMode cacheMode)
SelectionQuery<R>
SelectionQuery. setCacheMode(CacheMode cacheMode)
Set the current CacheMode 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 CacheMode Constructor Description NamedCriteriaQueryMementoImpl(String name, SqmStatement 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 CacheMode Constructor Description NamedHqlQueryMementoImpl(String name, 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 Modifier and Type Method Description SqmQueryImplementor<R>
SqmQueryImplementor. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.query.internal
Methods in org.hibernate.query.internal that return CacheMode Modifier and Type Method Description CacheMode
NamedQueryHelper.NamedQueryDescriptorBuilder. getCacheMode()
Methods in org.hibernate.query.internal with parameters of type CacheMode Modifier and Type Method Description void
NamedQueryHelper.NamedQueryDescriptorBuilder. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.query.named
Fields in org.hibernate.query.named declared as CacheMode Modifier and Type Field Description protected CacheMode
AbstractNamedQueryMemento.AbstractBuilder. cacheMode
Methods in org.hibernate.query.named that return CacheMode Modifier and Type Method Description CacheMode
AbstractNamedQueryMemento.AbstractBuilder. getCacheMode()
CacheMode
AbstractNamedQueryMemento. getCacheMode()
CacheMode
NamedQueryMemento. getCacheMode()
Methods in org.hibernate.query.named with parameters of type CacheMode Modifier and Type Method Description T
AbstractNamedQueryMemento.AbstractBuilder. setCacheMode(CacheMode cacheMode)
Constructors in org.hibernate.query.named with parameters of type CacheMode Constructor Description AbstractNamedQueryMemento(String name, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Map<String,Object> hints)
-
Uses of CacheMode in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return CacheMode Modifier and Type Method Description CacheMode
AbstractSelectionQuery. getCacheMode()
CacheMode
DelegatingQueryOptions. getCacheMode()
default CacheMode
QueryOptions. getCacheMode()
CacheMode
QueryOptionsAdapter. getCacheMode()
CacheMode
QueryProducerImplementor. getCacheMode()
Methods in org.hibernate.query.spi with parameters of type CacheMode Modifier and Type Method Description protected void
AbstractCommonQueryContract. applyCacheModeHint(CacheMode cacheMode)
QueryImplementor<R>
AbstractQuery. setCacheMode(CacheMode cacheMode)
SelectionQuery<R>
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 CacheMode Modifier and Type Method Description NativeQueryImplementor<R>
NativeQueryImpl. setCacheMode(CacheMode cacheMode)
Constructors in org.hibernate.query.sql.internal with parameters of type CacheMode Constructor Description NamedNativeQueryMementoImpl(String name, String sqlString, String originalSqlString, String resultSetMappingName, Class resultSetMappingClass, 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 Modifier and Type Method Description NativeQueryImplementor<R>
NativeQueryImplementor. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.query.sqm
Methods in org.hibernate.query.sqm with parameters of type CacheMode Modifier and Type Method Description SqmSelectionQuery<R>
SqmSelectionQuery. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal that return CacheMode Modifier and Type Method Description CacheMode
SqmSelectionQueryImpl. getCacheMode()
Methods in org.hibernate.query.sqm.internal with parameters of type CacheMode Modifier and Type Method Description SqmQueryImplementor<R>
QuerySqmImpl. setCacheMode(CacheMode cacheMode)
SqmSelectionQuery<R>
SqmSelectionQueryImpl. setCacheMode(CacheMode cacheMode)
-
Uses of CacheMode in org.hibernate.sql.exec.internal
Methods in org.hibernate.sql.exec.internal that return CacheMode Modifier and Type Method Description static 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 CacheMode Modifier and Type Method Description static CacheMode
JdbcExecHelper. resolveCacheMode(CacheMode override, SharedSessionContractImplementor session)
-