Uses of Enum Class
jakarta.persistence.CacheStoreMode
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of CacheStoreMode in jakarta.persistence
Modifier and TypeMethodDescriptionEntityManager.getCacheStoreMode()
The cache storage mode for this persistence context.Query.getCacheStoreMode()
The cache storage mode that will be in effect during query execution.static CacheStoreMode
Returns the enum constant of this class with the specified name.static CacheStoreMode[]
CacheStoreMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
EntityManager.setCacheStoreMode
(CacheStoreMode cacheStoreMode) Set the default cache storage mode for this persistence context.Query.setCacheStoreMode
(CacheStoreMode cacheStoreMode) Set the cache storage mode that is in effect during query execution.StoredProcedureQuery.setCacheStoreMode
(CacheStoreMode cacheStoreMode) Set the cache storage mode that is in effect during query execution.TypedQuery.setCacheStoreMode
(CacheStoreMode cacheStoreMode) Set the cache storage mode that is in effect during query execution.