Uses of Enum Class
jakarta.persistence.CacheStoreMode
Packages that use CacheStoreMode
Package
Description
Defines the core APIs for the management for persistence and
object/relational mapping.
-
Uses of CacheStoreMode in jakarta.persistence
Subclasses with type arguments of type CacheStoreMode in jakarta.persistenceModifier and TypeClassDescriptionenumSpecifies how theEntityManagerinteracts with the second-level cache when data is read from the database and when data is written to the database.Methods in jakarta.persistence that return CacheStoreModeModifier and TypeMethodDescriptionEntityHandler.getCacheStoreMode()The cache storage mode for thisEntityHandler.Query.getCacheStoreMode()Deprecated, for removal: This API element is subject to removal in a future version.TypedQuery.getCacheStoreMode()The cache storage mode in effect during query execution.static CacheStoreModeReturns 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.Methods in jakarta.persistence with parameters of type CacheStoreModeModifier and TypeMethodDescriptionvoidEntityHandler.setCacheStoreMode(CacheStoreMode cacheStoreMode) Set the default cache storage mode for thisEntityHandler.Query.setCacheStoreMode(CacheStoreMode cacheStoreMode) Deprecated, for removal: This API element is subject to removal in a future version.StoredProcedureQuery.setCacheStoreMode(CacheStoreMode cacheStoreMode) Set the cache storage mode in effect during query execution.TypedQuery.setCacheStoreMode(CacheStoreMode cacheStoreMode) Set the cache storage mode in effect during query execution.
TypedQuery.getCacheStoreMode()