| java.lang.Object org.hibernate.CacheMode
Field Summary | |
final public static CacheMode | GET | final public static CacheMode | IGNORE | final public static CacheMode | NORMAL | final public static 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. | final public static 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. |
GET | final public static CacheMode GET(Code) | | The session may read items from the cache, but will not add items,
except to invalidate items when updates occur
|
IGNORE | final public static CacheMode IGNORE(Code) | | The session will never interact with the cache, except to invalidate
cache items when updates occur
|
NORMAL | final public static CacheMode NORMAL(Code) | | The session may read items from the cache, and add items to the cache
|
PUT | final public static CacheMode PUT(Code) | | The session will never read items from the cache, but will add items
to the cache as it reads them from the database.
|
REFRESH | final public static CacheMode REFRESH(Code) | | The session will never read items from the cache, but will add items
to the cache as it reads them from the database. In this mode, the
effect of hibernate.cache.use_minimal_puts is bypassed, in
order to force a cache refresh
|
isGetEnabled | public boolean isGetEnabled()(Code) | | |
isPutEnabled | public boolean isPutEnabled()(Code) | | |
|
|