Uses of Class
org.hibernate.CacheMode

Packages that use CacheMode
org.hibernate   
org.hibernate.cfg   
org.hibernate.engine   
org.hibernate.impl   
 

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(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(String cacheMode)
           
 

Uses of CacheMode in org.hibernate.engine
 

Methods in org.hibernate.engine that return CacheMode
 CacheMode NamedQueryDefinition.getCacheMode()
           
 CacheMode SessionImplementor.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(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes)
           
NamedSQLQueryDefinition(String query, SQLQueryReturn[] queryReturns, SQLQueryScalarReturn[] scalarReturns, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes, boolean callable)
           
NamedSQLQueryDefinition(String query, String resultSetRef, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes, boolean callable)
           
 

Uses of CacheMode in org.hibernate.impl
 

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

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