| Modifier and Type | Field and Description |
|---|---|
| public static final String | AUTO_EVICT_COLLECTION_CACHE
Enables the automatic eviction of a bidirectional association's collection
cache when an element in the |
| public static final String | CACHE_KEYS_FACTORY
Specifies the
|
| public static final String | CACHE_REGION_FACTORY
The
|
| public static final String | CACHE_REGION_PREFIX
The |
| public static final String | CLASS_CACHE_PREFIX
Entity cache configuration properties follow the pattern
|
| public static final String | COLLECTION_CACHE_PREFIX
Collection cache configuration properties follow the pattern
|
| public static final String | DEFAULT_CACHE_CONCURRENCY_STRATEGY
Specifies the |
| public static final String | JAKARTA_SHARED_CACHE_MODE
When enabled, specifies that the second-level cache (which JPA calls the "shared" cache) may be used, as per the rules defined in JPA 2 section 3.1.7. |
| public static final String | JAKARTA_SHARED_CACHE_RETRIEVE_MODE
Set a default value for |
| public static final String | JAKARTA_SHARED_CACHE_STORE_MODE
Set a default value for |
| public static final String | JPA_SHARED_CACHE_MODE
Used to indicate whether second-level (what JPA terms shared cache) caching is enabled as per the rules defined in JPA 2 section 3.1.7. |
| public static final String | JPA_SHARED_CACHE_RETRIEVE_MODE
Deprecated
Use
JAKARTA_SHARED_CACHE_RETRIEVE_MODE instead
|
| public static final String | JPA_SHARED_CACHE_STORE_MODE
Deprecated
Use
JAKARTA_SHARED_CACHE_STORE_MODE instead
|
| public static final String | QUERY_CACHE_FACTORY
Specifies the |
| public static final String | USE_DIRECT_REFERENCE_CACHE_ENTRIES
Enable direct storage of entity references into the second level cache when applicable. |
| public static final String | USE_MINIMAL_PUTS
Optimize interaction with the second-level cache to minimize writes, at the cost of an additional read before each write. |
| public static final String | USE_QUERY_CACHE
Enable the query results cache |
| public static final String | USE_SECOND_LEVEL_CACHE
When enabled, specifies that the second-level cache may be used. |
| public static final String | USE_STRUCTURED_CACHE
Enables the use of structured second-level cache entries. |
| AUTO_EVICT_COLLECTION_CACHE | back to summary |
|---|---|
| public static final String AUTO_EVICT_COLLECTION_CACHE Enables the automatic eviction of a bidirectional association's collection
cache when an element in the | |
| CACHE_KEYS_FACTORY | back to summary |
|---|---|
| public static final String CACHE_KEYS_FACTORY
Deprecated this is only honored for Specifies the
| |
| CACHE_REGION_FACTORY | back to summary |
|---|---|
| public static final String CACHE_REGION_FACTORY The
Defaults to
| |
| CACHE_REGION_PREFIX | back to summary |
|---|---|
| public static final String CACHE_REGION_PREFIX The | |
| CLASS_CACHE_PREFIX | back to summary |
|---|---|
| public static final String CLASS_CACHE_PREFIX Entity cache configuration properties follow the pattern
| |
| COLLECTION_CACHE_PREFIX | back to summary |
|---|---|
| public static final String COLLECTION_CACHE_PREFIX Collection cache configuration properties follow the pattern
| |
| DEFAULT_CACHE_CONCURRENCY_STRATEGY | back to summary |
|---|---|
| public static final String DEFAULT_CACHE_CONCURRENCY_STRATEGY Specifies the
An explicit strategy may be specified using
| |
| JAKARTA_SHARED_CACHE_MODE | back to summary |
|---|---|
| public static final String JAKARTA_SHARED_CACHE_MODE When enabled, specifies that the second-level cache (which JPA calls the "shared" cache) may be used, as per the rules defined in JPA 2 section 3.1.7. See JPA 2 sections 9.4.3 and 8.2.1.7
| |
| JAKARTA_SHARED_CACHE_RETRIEVE_MODE | back to summary |
|---|---|
| public static final String JAKARTA_SHARED_CACHE_RETRIEVE_MODE Set a default value for
It does not usually make sense to change the default from
| |
| JAKARTA_SHARED_CACHE_STORE_MODE | back to summary |
|---|---|
| public static final String JAKARTA_SHARED_CACHE_STORE_MODE Set a default value for
It does not usually make sense to change the default from
| |
| JPA_SHARED_CACHE_MODE | back to summary |
|---|---|
| public static final String JPA_SHARED_CACHE_MODE
Deprecated Use Used to indicate whether second-level (what JPA terms shared cache) caching is enabled as per the rules defined in JPA 2 section 3.1.7. See JPA 2 sections 9.4.3 and 8.2.1.7
| |
| JPA_SHARED_CACHE_RETRIEVE_MODE | back to summary |
|---|---|
| public static final String JPA_SHARED_CACHE_RETRIEVE_MODE
Deprecated Use
| |
| JPA_SHARED_CACHE_STORE_MODE | back to summary |
|---|---|
| public static final String JPA_SHARED_CACHE_STORE_MODE
Deprecated Use
| |
| QUERY_CACHE_FACTORY | back to summary |
|---|---|
| public static final String QUERY_CACHE_FACTORY Specifies the | |
| USE_DIRECT_REFERENCE_CACHE_ENTRIES | back to summary |
|---|---|
| public static final String USE_DIRECT_REFERENCE_CACHE_ENTRIES Enable direct storage of entity references into the second level cache when applicable. This is appropriate only for immutable entities. By default, entities are always stored in a "disassembled" form, that is, as a tuple of attribute values. | |
| USE_MINIMAL_PUTS | back to summary |
|---|---|
| public static final String USE_MINIMAL_PUTS Optimize interaction with the second-level cache to minimize writes, at the cost of an additional read before each write. This setting is useful if writes to the cache are much more expensive than reads from the cache, for example, if the cache is a distributed cache. It's not usually necessary to set this explicitly because, by default, it's set to a sensible value by the second-level cache implementation. | |
| USE_QUERY_CACHE | back to summary |
|---|---|
| public static final String USE_QUERY_CACHE Enable the query results cache | |
| USE_SECOND_LEVEL_CACHE | back to summary |
|---|---|
| public static final String USE_SECOND_LEVEL_CACHE When enabled, specifies that the second-level cache may be used.
By default, if the configured | |
| USE_STRUCTURED_CACHE | back to summary |
|---|---|
| public static final String USE_STRUCTURED_CACHE Enables the use of structured second-level cache entries. This makes the cache entries human-readable, but carries a performance cost. | |