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.
This package defines the central Hibernate APIs, beginning with
SessionFactory, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session and StatelessSession,
the most important APIs exposing persistence-related operations for
entities.This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate.Everything related to HQL/JPQL, native SQL, and criteria queries.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Implementation of the SPIs for native SQL query support.
Package for the SQM-backed Query implementation details
SPI-level SQM contracts
-
Uses of CacheRetrieveMode in jakarta.persistence
Methods in jakarta.persistence that return CacheRetrieveModeModifier and TypeMethodDescriptionstatic 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. -
Uses of CacheRetrieveMode in org.hibernate
Methods in org.hibernate that return CacheRetrieveModeModifier and TypeMethodDescriptionSession.getCacheRetrieveMode()The JPA-definedCacheRetrieveMode.CacheMode.getJpaRetrieveMode()Methods in org.hibernate with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionstatic CacheModeCacheMode.fromJpaModes(CacheRetrieveMode retrieveMode, CacheStoreMode storeMode) Interpret the given JPA modes as an instance of this enumeration.voidSession.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) Enable or disable reads from the second-level cache. -
Uses of CacheRetrieveMode in org.hibernate.engine.jdbc.mutation.internal
Methods in org.hibernate.engine.jdbc.mutation.internal that return CacheRetrieveMode -
Uses of CacheRetrieveMode in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CacheRetrieveModeModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getCacheRetrieveMode()SessionLazyDelegator.getCacheRetrieveMode()Methods in org.hibernate.engine.spi with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionvoidSessionDelegatorBaseImpl.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) voidSessionLazyDelegator.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) -
Uses of CacheRetrieveMode in org.hibernate.internal
Methods in org.hibernate.internal that return CacheRetrieveModeMethods in org.hibernate.internal with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionvoidSessionImpl.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) -
Uses of CacheRetrieveMode in org.hibernate.jpa.internal.util
Fields in org.hibernate.jpa.internal.util declared as CacheRetrieveModeModifier and TypeFieldDescriptionstatic final CacheRetrieveModeCacheModeHelper.DEFAULT_RETRIEVE_MODEMethods in org.hibernate.jpa.internal.util that return CacheRetrieveModeModifier and TypeMethodDescriptionstatic CacheRetrieveModeCacheModeHelper.interpretCacheRetrieveMode(CacheMode cacheMode) Methods in org.hibernate.jpa.internal.util with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionstatic CacheModeCacheModeHelper.effectiveCacheMode(CacheStoreMode storeMode, CacheRetrieveMode retrieveMode) Given a JPACacheStoreModeandCacheRetrieveMode, determine the corresponding legacy HibernateCacheMode.static CacheModeCacheModeHelper.interpretCacheMode(CacheStoreMode storeMode, CacheRetrieveMode retrieveMode) Given a JPACacheStoreModeandCacheRetrieveMode, determine the corresponding legacy HibernateCacheMode. -
Uses of CacheRetrieveMode in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal that return CacheRetrieveMode -
Uses of CacheRetrieveMode in org.hibernate.query
Methods in org.hibernate.query that return CacheRetrieveModeMethods in org.hibernate.query with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionNativeQuery.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) Query.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) SelectionQuery.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) -
Uses of CacheRetrieveMode in org.hibernate.query.internal
Methods in org.hibernate.query.internal that return CacheRetrieveModeMethods in org.hibernate.query.internal with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionvoidQueryOptionsImpl.setCacheRetrieveMode(CacheRetrieveMode retrieveMode) -
Uses of CacheRetrieveMode in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return CacheRetrieveModeModifier and TypeMethodDescriptionAbstractSelectionQuery.getCacheRetrieveMode()DelegatingQueryOptions.getCacheRetrieveMode()QueryOptions.getCacheRetrieveMode()Controls whether query results are read from the cache.QueryOptionsAdapter.getCacheRetrieveMode()Methods in org.hibernate.query.spi with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionprotected booleanAbstractCommonQueryContract.applyJpaCacheRetrieveModeHint(CacheRetrieveMode retrieveMode) AbstractQuery.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) AbstractSelectionQuery.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) voidMutableQueryOptions.setCacheRetrieveMode(CacheRetrieveMode retrieveMode) Corollary toQueryOptions.getCacheRetrieveMode() -
Uses of CacheRetrieveMode in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionNativeQueryImpl.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) -
Uses of CacheRetrieveMode in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionQuerySqmImpl.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) SqmSelectionQueryImpl.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode) -
Uses of CacheRetrieveMode in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return CacheRetrieveModeMethods in org.hibernate.query.sqm.spi with parameters of type CacheRetrieveModeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)