Uses of Class
org.hibernate.CacheMode
-
Packages that use CacheMode Package Description org.hibernate org.hibernate.annotations Package containing all the Hibernate specific annotations.org.hibernate.boot.jaxb.hbm.spi org.hibernate.cfg.annotations org.hibernate.engine.spi org.hibernate.envers.query org.hibernate.query org.hibernate.query.spi -
-
Uses of CacheMode in org.hibernate
Methods in org.hibernate that return CacheMode Modifier and Type Method Description CacheMode
BasicQueryContract. getCacheMode()
Deprecated.Obtain the CacheMode in effect for this query.CacheMode
Query. getCacheMode()
Deprecated.Obtain the CacheMode in effect for this query.CacheMode
Session. getCacheMode()
Get the current cache mode.static CacheMode
CacheMode. interpretExternalSetting(java.lang.String setting)
Used to interpret externalized forms of this enum.static CacheMode
CacheMode. valueOf(java.lang.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 T
BasicQueryContract. setCacheMode(CacheMode cacheMode)
Deprecated.(Re)set the current CacheMode in effect for this query.Criteria
Criteria. setCacheMode(CacheMode cacheMode)
Override the cache mode for this particular query.Query<R>
Query. setCacheMode(CacheMode cacheMode)
Deprecated.(Re)set the current CacheMode in effect for this query.void
Session. setCacheMode(CacheMode cacheMode)
Set the cache mode.NativeQuery<T>
SQLQuery. setCacheMode(CacheMode cacheMode)
Deprecated.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. -
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.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(java.lang.String value)
Methods in org.hibernate.boot.jaxb.hbm.spi with parameters of type CacheMode Modifier and Type Method Description java.lang.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.cfg.annotations
Methods in org.hibernate.cfg.annotations that return CacheMode Modifier and Type Method Description CacheMode
QueryHintDefinition. getCacheMode(java.lang.String query)
-
Uses of CacheMode in org.hibernate.engine.spi
Fields in org.hibernate.engine.spi declared as CacheMode Modifier and Type Field Description protected CacheMode
NamedQueryDefinitionBuilder. cacheMode
Methods in org.hibernate.engine.spi that return CacheMode Modifier and Type Method Description CacheMode
NamedQueryDefinition. getCacheMode()
CacheMode
SessionDelegatorBaseImpl. getCacheMode()
CacheMode
SharedSessionContractImplementor. getCacheMode()
Methods in org.hibernate.engine.spi with parameters of type CacheMode Modifier and Type Method Description NamedQueryDefinitionBuilder
NamedQueryDefinitionBuilder. setCacheMode(CacheMode cacheMode)
NamedSQLQueryDefinitionBuilder
NamedSQLQueryDefinitionBuilder. setCacheMode(CacheMode cacheMode)
void
SessionDelegatorBaseImpl. setCacheMode(CacheMode cm)
void
SharedSessionContractImplementor. setCacheMode(CacheMode cm)
Constructors in org.hibernate.engine.spi with parameters of type CacheMode Constructor Description NamedQueryDefinition(java.lang.String name, java.lang.String query, boolean cacheable, java.lang.String cacheRegion, java.lang.Integer timeout, java.lang.Integer lockTimeout, java.lang.Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, java.lang.String comment, java.util.Map parameterTypes)
Deprecated.UseNamedQueryDefinitionBuilder
instead.NamedQueryDefinition(java.lang.String name, java.lang.String query, boolean cacheable, java.lang.String cacheRegion, java.lang.Integer timeout, java.lang.Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, java.lang.String comment, java.util.Map parameterTypes)
Deprecated.UseNamedQueryDefinitionBuilder
instead.NamedSQLQueryDefinition(java.lang.String name, java.lang.String query, java.lang.String resultSetRef, java.util.List<java.lang.String> querySpaces, boolean cacheable, java.lang.String cacheRegion, java.lang.Integer timeout, java.lang.Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, java.lang.String comment, java.util.Map parameterTypes, boolean callable)
Deprecated.UseNamedSQLQueryDefinitionBuilder
instead.NamedSQLQueryDefinition(java.lang.String name, java.lang.String query, NativeSQLQueryReturn[] queryReturns, java.util.List<java.lang.String> querySpaces, boolean cacheable, java.lang.String cacheRegion, java.lang.Integer timeout, java.lang.Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, java.lang.String comment, java.util.Map parameterTypes, boolean callable)
Deprecated.UseNamedSQLQueryDefinitionBuilder
instead. -
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.query
Methods in org.hibernate.query that return CacheMode Modifier and Type Method Description CacheMode
Query. getCacheMode()
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)
-
Uses of CacheMode in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return CacheMode Modifier and Type Method Description CacheMode
QueryProducerImplementor. getCacheMode()
Methods in org.hibernate.query.spi with parameters of type CacheMode Modifier and Type Method Description NativeQueryImplementor<T>
NativeQueryImplementor. setCacheMode(CacheMode cacheMode)
-