Uses of Class
jakarta.persistence.CacheRetrieveMode
-
Packages that use CacheRetrieveMode Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping. -
-
Uses of CacheRetrieveMode in jakarta.persistence
Methods in jakarta.persistence that return CacheRetrieveMode Modifier and Type Method Description CacheRetrieveMode
EntityManager. getCacheRetrieveMode()
The cache retrieval mode for this persistence context.CacheRetrieveMode
Query. getCacheRetrieveMode()
The cache retrieval mode that will be in effect during query execution.static CacheRetrieveMode
CacheRetrieveMode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CacheRetrieveMode[]
CacheRetrieveMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in jakarta.persistence with parameters of type CacheRetrieveMode Modifier and Type Method Description void
EntityManager. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)
Set the default cache retrieval mode for this persistence context.Query
Query. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)
Set the cache retrieval mode that is in effect during query execution.StoredProcedureQuery
StoredProcedureQuery. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)
Set the cache retrieval mode that is in effect during query execution.TypedQuery<X>
TypedQuery. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)
Set the cache retrieval mode that is in effect during query execution.
-