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