Example usage for Java org.hibernate CacheMode fields, constructors, methods, implement or subclass
The text is from its open source code.
CacheMode | NORMAL The session may read items from the cache, and add items to the cache. |
CacheMode | IGNORE The session will never interact with the cache, except to invalidate cache items when updates occur. |
CacheMode | GET The session may read items from the cache, but will not add items, except to invalidate items when updates occur. |
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. |
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. |