Uses of Enum Class
jakarta.persistence.FetchType
Packages that use FetchType
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
SPI for Jakarta Persistence providers
-
Uses of FetchType in jakarta.persistence
Subclasses with type arguments of type FetchType in jakarta.persistenceModifier and TypeClassDescriptionenumDefines policies for fetching data from the database.Methods in jakarta.persistence that return FetchTypeModifier and TypeMethodDescriptionPersistenceConfiguration.defaultToOneFetchType()The default fetch type,FetchType.EAGERby default.static FetchTypeReturns the enum constant of this class with the specified name.static FetchType[]FetchType.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 FetchTypeModifier and TypeMethodDescriptionPersistenceConfiguration.defaultToOneFetchType(FetchType defaultToOneFetchType) Specify the default fetch type for one-to-one and many-to-one associations. -
Uses of FetchType in jakarta.persistence.spi
Methods in jakarta.persistence.spi that return FetchTypeModifier and TypeMethodDescriptionPersistenceUnitInfo.getDefaultToOneFetchType()Returns the default fetch type for one-to-one and many-to-one associations.