Uses of Enum Class
jakarta.persistence.CacheRetrieveMode
Packages that use CacheRetrieveMode
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of CacheRetrieveMode in jakarta.persistence
Subclasses with type arguments of type CacheRetrieveMode in jakarta.persistenceModifier and TypeClassDescriptionenumSpecifies how theEntityManagerinteracts with the second-level cache when data is read from the database via theEntityManager.find(Class, Object, Map)methods and execution of queries.Methods in jakarta.persistence that return CacheRetrieveModeModifier and TypeMethodDescriptionEntityHandler.getCacheRetrieveMode()The cache retrieval mode for thisEntityHandler.Query.getCacheRetrieveMode()Deprecated, for removal: This API element is subject to removal in a future version.TypedQuery.getCacheRetrieveMode()The cache retrieval mode in effect during query execution.TypedQueryReference.getCacheRetrieveMode()The specifiedCacheRetrieveMode, if any, ornullwhen the default mode of theEntityHandlershould be used.static CacheRetrieveModeReturns 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.Methods in jakarta.persistence with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionvoidEntityHandler.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) Set the default cache retrieval mode for thisEntityHandler.Query.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) Deprecated, for removal: This API element is subject to removal in a future version.StoredProcedureQuery.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) Set the cache retrieval mode in effect during query execution.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) Set the cache retrieval mode in effect during query execution. -
Uses of CacheRetrieveMode in jakarta.persistence.query
Methods in jakarta.persistence.query that return CacheRetrieveModeConstructors in jakarta.persistence.query with parameters of type CacheRetrieveModeModifierConstructorDescriptionStaticTypedQueryReference(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.getCacheRetrieveMode()