<T> MultiIdentifierLoadAccess<T> |
Session.byMultipleIds(Class<T> entityClass) |
Create a MultiIdentifierLoadAccess 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 a MultiIdentifierLoadAccess instance to retrieve multiple instances
of the named entity type by their primary key values, using batching.
|
MultiIdentifierLoadAccess<T> |
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 to multiLoad(K...) ?
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.enableReturnOfDeletedEntities(boolean enabled) |
|
MultiIdentifierLoadAccess<T> |
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.
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(CacheMode cacheMode) |
Specify the CacheMode to use when obtaining an entity.
|
default MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(RootGraph<T> graph) |
Deprecated.
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(RootGraph<T> graph,
GraphSemantic semantic) |
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(LockOptions lockOptions) |
|
MultiIdentifierLoadAccess<T> |
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.
|