Uses of Class
org.hibernate.CacheMode

Packages that use CacheMode
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel. 
org.hibernate.ejb   
org.hibernate.ejb.util   
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
 

Uses of CacheMode in org.hibernate
 

Fields in org.hibernate declared as CacheMode
static CacheMode CacheMode.GET
          The session may read items from the cache, but will not add items, except to invalidate items when updates occur
static CacheMode CacheMode.IGNORE
          The session will never interact with the cache, except to invalidate cache items when updates occur
static CacheMode CacheMode.NORMAL
          The session may read items from the cache, and add items to the cache
static CacheMode CacheMode.PUT
          The session will never read items from the cache, but will add items to the cache as it reads them from the database.
static CacheMode CacheMode.REFRESH
          The session will never read items from the cache, but will add items to the cache as it reads them from the database.
 

Methods in org.hibernate that return CacheMode
 CacheMode Session.getCacheMode()
          Get the current cache mode.
static CacheMode CacheMode.parse(java.lang.String name)
           
 

Methods in org.hibernate with parameters of type CacheMode
 Criteria Criteria.setCacheMode(CacheMode cacheMode)
          Override the cache mode for this particular query.
 Query Query.setCacheMode(CacheMode cacheMode)
          Override the current session cache mode, just for this query.
 void Session.setCacheMode(CacheMode cacheMode)
          Set the cache mode.
 

Uses of CacheMode in org.hibernate.cfg
 

Methods in org.hibernate.cfg that return CacheMode
static CacheMode HbmBinder.getCacheMode(java.lang.String cacheMode)
           
 

Uses of CacheMode in org.hibernate.ejb
 

Methods in org.hibernate.ejb that return CacheMode
 CacheMode AbstractEntityManagerImpl.determineAppropriateLocalCacheMode(java.util.Map<java.lang.String,java.lang.Object> localProperties)
           
 

Methods in org.hibernate.ejb with parameters of type CacheMode
protected  void QueryImpl.applyCacheMode(CacheMode cacheMode)
           
protected abstract  void AbstractQueryImpl.applyCacheMode(CacheMode cacheMode)
           
 

Uses of CacheMode in org.hibernate.ejb.util
 

Fields in org.hibernate.ejb.util declared as CacheMode
static CacheMode CacheModeHelper.DEFAULT_LEGACY_MODE
           
 

Methods in org.hibernate.ejb.util that return CacheMode
static CacheMode ConfigurationHelper.getCacheMode(java.lang.Object value)
           
static CacheMode CacheModeHelper.interpretCacheMode(javax.persistence.CacheStoreMode storeMode, javax.persistence.CacheRetrieveMode retrieveMode)
          Given a JPA CacheStoreMode and CacheRetrieveMode, determine the corresponding legacy Hibernate CacheMode.
 

Methods in org.hibernate.ejb.util with parameters of type CacheMode
static javax.persistence.CacheRetrieveMode CacheModeHelper.interpretCacheRetrieveMode(CacheMode cacheMode)
           
static javax.persistence.CacheStoreMode CacheModeHelper.interpretCacheStoreMode(CacheMode cacheMode)
           
 

Uses of CacheMode in org.hibernate.engine
 

Methods in org.hibernate.engine that return CacheMode
 CacheMode SessionImplementor.getCacheMode()
           
 CacheMode NamedQueryDefinition.getCacheMode()
           
 

Methods in org.hibernate.engine with parameters of type CacheMode
 void SessionImplementor.setCacheMode(CacheMode cm)
           
 

Constructors in org.hibernate.engine with parameters of type CacheMode
NamedQueryDefinition(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)
           
NamedSQLQueryDefinition(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)
          This form used to construct a NamedSQLQueryDefinition from the binder code when a the result-set mapping information is explicitly provided in the query definition (i.e., no resultset-mapping used)
NamedSQLQueryDefinition(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)
          This form used to construct a NamedSQLQueryDefinition from the binder code when a resultset-mapping reference is used.
 

Uses of CacheMode in org.hibernate.impl
 

Methods in org.hibernate.impl that return CacheMode
 CacheMode StatelessSessionImpl.getCacheMode()
           
 CacheMode SessionImpl.getCacheMode()
           
 CacheMode AbstractQueryImpl.getCacheMode()
           
 

Methods in org.hibernate.impl with parameters of type CacheMode
 Criteria CriteriaImpl.setCacheMode(CacheMode cacheMode)
           
 Criteria CriteriaImpl.Subcriteria.setCacheMode(CacheMode cacheMode)
           
 void StatelessSessionImpl.setCacheMode(CacheMode cm)
           
 void SessionImpl.setCacheMode(CacheMode cacheMode)
           
 Query AbstractQueryImpl.setCacheMode(CacheMode cacheMode)
           
 



Copyright © 2013. All Rights Reserved.