javax.persistence.cache.retrieveMode property to
specify the behavior when data is retrieved by the
find methods and by queries.
| Modifier and Type | Field and Description |
|---|---|
| public static final CacheRetrieveMode | BYPASS
Bypass the cache: get data directly from the database. |
| public static final CacheRetrieveMode | USE
Read entity data from the cache: this is the default behavior. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CacheRetrieveMode | |
| public static CacheRetrieveMode[] |
| BYPASS | back to summary |
|---|---|
| public static final CacheRetrieveMode BYPASS Bypass the cache: get data directly from the database. | |
| USE | back to summary |
|---|---|
| public static final CacheRetrieveMode USE Read entity data from the cache: this is the default behavior. | |
| CacheRetrieveMode | back to summary |
|---|---|
| private CacheRetrieveMode() | |
| valueOf | back to summary |
|---|---|
| public static CacheRetrieveMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static CacheRetrieveMode[] values() | |