| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.CacheMode
Controls how the session interacts with the second-level cache and query cache.
Session.setCacheMode(CacheMode), 
Serialized Form| Field Summary | |
| static CacheMode | GETThe session may read items from the cache, but will not add items, except to invalidate items when updates occur | 
| static CacheMode | IGNOREThe session will never interact with the cache, except to invalidate cache items when updates occur | 
| static CacheMode | NORMALThe session may read items from the cache, and add items to the cache | 
| static CacheMode | PUTThe session will never read items from the cache, but will add items to the cache as it reads them from the database. | 
| static CacheMode | REFRESHThe session will never read items from the cache, but will add items to the cache as it reads them from the database. | 
| Method Summary | |
|  boolean | isGetEnabled() | 
|  boolean | isPutEnabled() | 
| static CacheMode | parse(String name) | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final CacheMode NORMAL
public static final CacheMode IGNORE
public static final CacheMode GET
public static final CacheMode PUT
public static final CacheMode REFRESH
| Method Detail | 
public String toString()
public boolean isPutEnabled()
public boolean isGetEnabled()
public static CacheMode parse(String name)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||