Uses of Interface
org.hibernate.MultiIdentifierLoadAccess
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 MultiIdentifierLoadAccess in org.hibernate
Modifier and TypeMethodDescription<T> MultiIdentifierLoadAccess<T>
Session.byMultipleIds
(Class<T> entityClass) Create aMultiIdentifierLoadAccess
instance to retrieve multiple instances of the given entity type by their primary key values, using batching.<T> MultiIdentifierLoadAccess<T>
Session.byMultipleIds
(String entityName) Create aMultiIdentifierLoadAccess
instance to retrieve multiple instances of the named entity type by their primary key values, using batching.MultiIdentifierLoadAccess.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(K...)
?MultiIdentifierLoadAccess.enableReturnOfDeletedEntities
(boolean enabled) ShouldmultiLoad(K...)
return entity instances that have beenmarked for removal
in the current session, but not yetdelete
d in the database?MultiIdentifierLoadAccess.enableSessionCheck
(boolean enabled) Specifies whether the ids of managed entity instances already cached in the current persistence context should be excluded from the list of ids sent to the database.Specify theCacheMode
to use when obtaining an entity.default MultiIdentifierLoadAccess<T>
Deprecated.MultiIdentifierLoadAccess.with
(RootGraph<T> graph, GraphSemantic semantic) Customize the associations fetched by specifying an entity graph, and how it should be interpreted.MultiIdentifierLoadAccess.with
(LockOptions lockOptions) Specify the lock options to use when querying the database.MultiIdentifierLoadAccess.withBatchSize
(int batchSize) Specify a batch size, that is, how many entities should be fetched in each request to the database.default MultiIdentifierLoadAccess<T>
MultiIdentifierLoadAccess.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 MultiIdentifierLoadAccess<T>
MultiIdentifierLoadAccess.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 MultiIdentifierLoadAccess in org.hibernate.engine.spi
Modifier and TypeMethodDescription<T> MultiIdentifierLoadAccess<T>
SessionDelegatorBaseImpl.byMultipleIds
(Class<T> entityClass) <T> MultiIdentifierLoadAccess<T>
SessionDelegatorBaseImpl.byMultipleIds
(String entityName) <T> MultiIdentifierLoadAccess<T>
SessionLazyDelegator.byMultipleIds
(Class<T> entityClass) <T> MultiIdentifierLoadAccess<T>
SessionLazyDelegator.byMultipleIds
(String entityName) -
Uses of MultiIdentifierLoadAccess in org.hibernate.internal
Modifier and TypeMethodDescription<T> MultiIdentifierLoadAccess<T>
SessionImpl.byMultipleIds
(Class<T> entityClass) <T> MultiIdentifierLoadAccess<T>
SessionImpl.byMultipleIds
(String entityName)
withLoadGraph(org.hibernate.graph.RootGraph<T>)