Java org.hibernate CacheMode fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate CacheMode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate CacheMode.

The text is from its open source code.

Field

CacheModeNORMAL
The session may read items from the cache, and add items to the cache.
CacheModeIGNORE
The session will never interact with the cache, except to invalidate cache items when updates occur.
CacheModeGET
The session may read items from the cache, but will not add items, except to invalidate items when updates occur.
CacheModePUT
The session will never read items from the cache, but will add items to the cache as it reads them from the database.
CacheModeREFRESH
The session will never read items from the cache, but will add items to the cache as it reads them from the database.