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 CacheRetrieveModeEntityManager. getCacheRetrieveMode()The cache retrieval mode for this persistence context.CacheRetrieveModeQuery. getCacheRetrieveMode()The cache retrieval mode that will be in effect during query execution.static CacheRetrieveModeCacheRetrieveMode. 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 voidEntityManager. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)Set the default cache retrieval mode for this persistence context.QueryQuery. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)Set the cache retrieval mode that is in effect during query execution.StoredProcedureQueryStoredProcedureQuery. 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.
-