Uses of Enum Class
jakarta.persistence.CacheStoreMode
Packages that use CacheStoreMode
Package
Description
Jakarta Persistence is the API 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.TypedQueryReference.getCacheStoreMode()The specifiedCacheStoreMode, if any, ornullwhen the default mode of theEntityHandlershould be used.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. -
Uses of CacheStoreMode in jakarta.persistence.query
Methods in jakarta.persistence.query that return CacheStoreModeConstructors in jakarta.persistence.query with parameters of type CacheStoreModeModifierConstructorDescriptionStaticTypedQueryReference(String queryName, Class<?> annotatedClass, String annotatedMemberName, Class<R> resultType, List<Class<?>> parameterTypes, List<String> parameterNames, List<Object> arguments, CacheRetrieveMode cacheRetrieveMode, CacheStoreMode cacheStoreMode, LockModeType lockMode, PessimisticLockScope lockScope, Timeout timeout, String entityGraphName, Map<String, Object> hints) Intended for use in code generated by an annotation processor.
TypedQuery.getCacheStoreMode()