Uses of Class
org.hibernate.CacheMode
-
Packages that use CacheMode Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory
, 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.org.hibernate.annotations A set of mapping annotations which extend the O/R mapping annotations defined by JPA.org.hibernate.boot.internal org.hibernate.boot.jaxb.hbm.internal JAXB details.org.hibernate.boot.jaxb.hbm.spi org.hibernate.boot.jaxb.mapping org.hibernate.boot.jaxb.mapping.marshall org.hibernate.boot.model.internal org.hibernate.boot.query Support for handling named queries during the bootstrap process.org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.envers.query org.hibernate.envers.query.internal.impl org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.jpa.internal.util org.hibernate.loader.internal org.hibernate.procedure.internal Defines the internal implementation of the stored procedure SPI.org.hibernate.query Everything related to HQL/JPQL, native SQL, and criteria queries.org.hibernate.query.criteria.internal org.hibernate.query.hql.internal Implementation of the SPIs for HQL support.org.hibernate.query.hql.spi SPIs for HQL support.org.hibernate.query.internal org.hibernate.query.named Support for named queriesorg.hibernate.query.spi Contains a range of internal abstractions for dealing with query execution, query plans, query options, and query parameters.org.hibernate.query.sql.internal Implementation of the SPIs for native SQL query support.org.hibernate.query.sql.spi SPIs for native SQL query support.org.hibernate.query.sqm This package defines a semantic model of HQL queries.org.hibernate.query.sqm.internal Package for the SQM-backed Query implementation detailsorg.hibernate.sql.exec.internal Implementation of the SPI for execution of SQL statements via JDBC. -
-
Uses of CacheMode in org.hibernate
Methods in org.hibernate that return CacheMode Modifier and Type Method Description static CacheMode
CacheMode. fromJpaModes(CacheRetrieveMode retrieveMode, CacheStoreMode storeMode)
Interpret the given JPA modes as an instance of this enumeration.CacheMode
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
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 current cache mode for this session.IdentifierLoadAccess<T>
IdentifierLoadAccess. with(CacheMode cacheMode)
Specify theCacheMode
to use when obtaining an entity.MultiIdentifierLoadAccess<T>
MultiIdentifierLoadAccess. with(CacheMode cacheMode)
Specify theCacheMode
to use when obtaining an entity.NaturalIdMultiLoadAccess<T>
NaturalIdMultiLoadAccess. with(CacheMode cacheMode)
Specify theCacheMode
to use when obtaining an entity. -
Uses of CacheMode in org.hibernate.annotations
Methods in org.hibernate.annotations that return CacheMode Modifier and Type Method Description CacheMode
CacheModeType. getCacheMode()
Deprecated.Methods in org.hibernate.annotations with parameters of type CacheMode Modifier and Type Method Description static CacheModeType
CacheModeType. fromCacheMode(CacheMode cacheMode)
Deprecated.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
Adapter16. unmarshal(String value)
Methods in org.hibernate.boot.jaxb.mapping with parameters of type CacheMode Modifier and Type Method Description String
Adapter16. 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.model.internal
Methods in org.hibernate.boot.model.internal that return CacheMode Modifier and Type Method Description CacheMode
QueryHintDefinition. getCacheMode()
-
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)
-
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.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()
Get the currentCacheMode
for this session.CacheMode
SharedSessionDelegatorBaseImpl. 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)
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 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(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 CacheMode Modifier and Type Method Description static 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 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 theCacheMode
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 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 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 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)
-