Uses of Enum Class
jakarta.persistence.SharedCacheMode
Packages that use SharedCacheMode
Package
Description
Defines the core APIs for the management for persistence and
object/relational mapping.
Defines an SPI for integrating with the persistence provider
and with the Jakarta EE platform.
-
Uses of SharedCacheMode in jakarta.persistence
Subclasses with type arguments of type SharedCacheMode in jakarta.persistenceModifier and TypeClassDescriptionenumEnumerates policies which control how the provider determines if an entity type is eligible for storage in the second-level cache.Methods in jakarta.persistence that return SharedCacheModeModifier and TypeMethodDescriptionPersistenceConfiguration.sharedCacheMode()The shared cache mode.static SharedCacheModeReturns the enum constant of this class with the specified name.static SharedCacheMode[]SharedCacheMode.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 SharedCacheModeModifier and TypeMethodDescriptionPersistenceConfiguration.sharedCacheMode(SharedCacheMode sharedCacheMode) Specify the shared cache mode for the persistence unit. -
Uses of SharedCacheMode in jakarta.persistence.spi
Methods in jakarta.persistence.spi that return SharedCacheModeModifier and TypeMethodDescriptionPersistenceUnitInfo.getSharedCacheMode()Returns the specification of how the provider must use a second-level cache for the persistence unit.