Uses of Class
jakarta.persistence.CacheStoreMode
-
Packages that use CacheStoreMode Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping. -
-
Uses of CacheStoreMode in jakarta.persistence
Methods in jakarta.persistence that return CacheStoreMode Modifier and Type Method Description CacheStoreMode
EntityManager. getCacheStoreMode()
The cache storage mode for this persistence context.CacheStoreMode
Query. getCacheStoreMode()
The cache storage mode that will be in effect during query execution.static CacheStoreMode
CacheStoreMode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CacheStoreMode[]
CacheStoreMode. 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 CacheStoreMode Modifier and Type Method Description void
EntityManager. setCacheStoreMode(CacheStoreMode cacheStoreMode)
Set the default cache storage mode for this persistence context.Query
Query. setCacheStoreMode(CacheStoreMode cacheStoreMode)
Set the cache storage mode that is in effect during query execution.StoredProcedureQuery
StoredProcedureQuery. setCacheStoreMode(CacheStoreMode cacheStoreMode)
Set the cache storage mode that is in effect during query execution.TypedQuery<X>
TypedQuery. setCacheStoreMode(CacheStoreMode cacheStoreMode)
Set the cache storage mode that is in effect during query execution.
-