Uses of Interface
org.hibernate.NaturalIdMultiLoadAccess
Packages that use NaturalIdMultiLoadAccess
Package
Description
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
.-
Uses of NaturalIdMultiLoadAccess in org.hibernate
Methods in org.hibernate that return NaturalIdMultiLoadAccessModifier and TypeMethodDescription<T> NaturalIdMultiLoadAccess<T>
Session.byMultipleNaturalId
(Class<T> entityClass) Create aMultiIdentifierLoadAccess
instance to retrieve multiple instances of the given entity type by their by natural id values, using batching.<T> NaturalIdMultiLoadAccess<T>
Session.byMultipleNaturalId
(String entityName) Create aMultiIdentifierLoadAccess
instance to retrieve multiple instances of the named entity type by their by natural id values, using batching.NaturalIdMultiLoadAccess.enableOrderedReturn
(boolean enabled) Should the returned list of entity instances be ordered, with the position of an entity instance determined by the position of its identifier in the list if ids passed tomultiLoad(java.lang.Object...)
?NaturalIdMultiLoadAccess.enableReturnOfDeletedEntities
(boolean enabled) ShouldmultiLoad(java.lang.Object...)
return entity instances that have beenmarked for removal
in the current session, but not yetdelete
d in the database?Specify theCacheMode
to use when obtaining an entity.default NaturalIdMultiLoadAccess<T>
Deprecated.NaturalIdMultiLoadAccess.with
(RootGraph<T> graph, GraphSemantic semantic) Customize the associations fetched by specifying an entity graph, and how it should be interpreted.NaturalIdMultiLoadAccess.with
(LockOptions lockOptions) Specify the lock options to use when querying the database.NaturalIdMultiLoadAccess.withBatchSize
(int batchSize) Specify a batch size, that is, how many entities should be fetched in each request to the database.default NaturalIdMultiLoadAccess<T>
NaturalIdMultiLoadAccess.withFetchGraph
(RootGraph<T> graph) Override the associations fetched by default by specifying the complete list of associations to be fetched as an entity graph.default NaturalIdMultiLoadAccess<T>
NaturalIdMultiLoadAccess.withLoadGraph
(RootGraph<T> graph) Augment the associations fetched by default by specifying a list of additional associations to be fetched as an entity graph. -
Uses of NaturalIdMultiLoadAccess in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return NaturalIdMultiLoadAccessModifier and TypeMethodDescription<T> NaturalIdMultiLoadAccess<T>
SessionDelegatorBaseImpl.byMultipleNaturalId
(Class<T> entityClass) <T> NaturalIdMultiLoadAccess<T>
SessionDelegatorBaseImpl.byMultipleNaturalId
(String entityName) <T> NaturalIdMultiLoadAccess<T>
SessionLazyDelegator.byMultipleNaturalId
(Class<T> entityClass) <T> NaturalIdMultiLoadAccess<T>
SessionLazyDelegator.byMultipleNaturalId
(String entityName) -
Uses of NaturalIdMultiLoadAccess in org.hibernate.internal
Classes in org.hibernate.internal that implement NaturalIdMultiLoadAccessMethods in org.hibernate.internal that return NaturalIdMultiLoadAccessModifier and TypeMethodDescription<T> NaturalIdMultiLoadAccess<T>
SessionImpl.byMultipleNaturalId
(Class<T> entityClass) <T> NaturalIdMultiLoadAccess<T>
SessionImpl.byMultipleNaturalId
(String entityName) NaturalIdMultiLoadAccessStandard.enableOrderedReturn
(boolean enabled) NaturalIdMultiLoadAccessStandard.enableReturnOfDeletedEntities
(boolean enabled) NaturalIdMultiLoadAccessStandard.with
(RootGraph<T> graph, GraphSemantic semantic) NaturalIdMultiLoadAccessStandard.with
(LockOptions lockOptions) NaturalIdMultiLoadAccessStandard.withBatchSize
(int batchSize)
withLoadGraph(org.hibernate.graph.RootGraph<T>)