| Modifier and Type | Field and Description |
|---|---|
| private Integer | |
| private CacheMode | |
| private final EntityPersister | |
| private GraphSemantic | |
| private LockOptions | |
| private boolean | |
| private boolean | |
| private RootGraphImplementor | |
| private final SessionImpl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NaturalIdMultiLoadAccess | enableOrderedReturn(boolean
true if entity instances should be ordered;
false if they may be returned in any order.Implements org. multiLoad?
|
| public NaturalIdMultiLoadAccess | enableReturnOfDeletedEntities(boolean
true if removed entities should be returned;
false if they should be replaced by null values.Implements org. multiLoad return entity instances that have been
marked for removal in the current
session, but not yet deleted in the database?
|
| public Integer | getBatchSize()
Implements org. |
| public LockOptions | getLockOptions()
Implements org. |
| public boolean | isOrderReturnEnabled()
Implements org. |
| public boolean | isReturnOfDeletedEntitiesEnabled()
Implements org. |
| public List | multiLoad(Object...
The natural id values to load ids)Implements org. |
| public List | multiLoad(List<?>
The natural id values to load ids)Implements org. |
| public NaturalIdMultiLoadAccess | with(LockOptions
The lock options to use lockOptions)Implements org. |
| public NaturalIdMultiLoadAccess | with(CacheMode
The cacheMode)CacheMode to useImplements org. CacheMode to use when obtaining an entity.
|
| public NaturalIdMultiLoadAccess | with(RootGraph<T> graph, GraphSemantic semantic)
Implements org. |
| public NaturalIdMultiLoadAccess | withBatchSize(int
The batch size batchSize)Implements org. |
| batchSize | back to summary |
|---|---|
| private Integer batchSize | |
| cacheMode | back to summary |
|---|---|
| private CacheMode cacheMode | |
| entityDescriptor | back to summary |
|---|---|
| private final EntityPersister entityDescriptor | |
| graphSemantic | back to summary |
|---|---|
| private GraphSemantic graphSemantic | |
| lockOptions | back to summary |
|---|---|
| private LockOptions lockOptions | |
| orderedReturnEnabled | back to summary |
|---|---|
| private boolean orderedReturnEnabled | |
| returnOfDeletedEntitiesEnabled | back to summary |
|---|---|
| private boolean returnOfDeletedEntitiesEnabled | |
| rootGraph | back to summary |
|---|---|
| private RootGraphImplementor<T> rootGraph | |
| session | back to summary |
|---|---|
| private final SessionImpl session | |
| NaturalIdMultiLoadAccessStandard | back to summary |
|---|---|
| public NaturalIdMultiLoadAccessStandard(EntityPersister entityDescriptor, SessionImpl session) | |
| enableOrderedReturn | back to summary |
|---|---|
| public NaturalIdMultiLoadAccess Implements org. Doc from org. 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 By default, the returned list is ordered and the positions of the entities correspond to the positions of their ids. In this case, the handling of entities marked for removal becomes important.
| |
| enableReturnOfDeletedEntities | back to summary |
|---|---|
| public NaturalIdMultiLoadAccess Implements org. Doc from org. Should
By default, instances marked for removal are replaced by null in
the returned list of entities when
| |
| getBatchSize | back to summary |
|---|---|
| public Integer getBatchSize() Implements org. Doc from org. Batch size to use when loading entities from the database. | |
| getLockOptions | back to summary |
|---|---|
| public LockOptions getLockOptions() Implements org. Doc from org. Specify the lock options applied during loading.
| |
| isOrderReturnEnabled | back to summary |
|---|---|
| public boolean isOrderReturnEnabled() Implements org. Doc from org. Should the entities be returned in the same order as their associated entity identifiers were provided.
| |
| isReturnOfDeletedEntitiesEnabled | back to summary |
|---|---|
| public boolean isReturnOfDeletedEntitiesEnabled() Implements org. Doc from org. Should we returned entities that are scheduled for deletion.
| |
| multiLoad | back to summary |
|---|---|
| public List Implements org. Doc from org. Retrieve the entities with the given natural id values.
Note that the options
| |
| multiLoad | back to summary |
|---|---|
| public List Implements org. Doc from org. Retrieve the entities with the given natural id values.
Note that the options | |
| with | back to summary |
|---|---|
| public NaturalIdMultiLoadAccess Implements org. Doc from org. Specify the lock options to use when querying the database.
| |
| with | back to summary |
|---|---|
| public NaturalIdMultiLoadAccess Implements org. Doc from org. Specify the
| |
| with | back to summary |
|---|---|
| public NaturalIdMultiLoadAccess Implements org. Doc from org. Customize the associations fetched by specifying an entity graph, and how it should be interpreted.
| |
| withBatchSize | back to summary |
|---|---|
| public NaturalIdMultiLoadAccess Implements org. Doc from org. Specify a batch size, that is, how many entities should be fetched in each request to the database.
If an explicit batch size is set manually, care should be taken to not exceed the capabilities of the underlying database. A batch size is considered a hint.
| |