| 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 | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MultiIdentifierLoadAccess | enableOrderedReturn(boolean
true if entity instances should be ordered;
false if they may be returned in any order.Implements org. multiLoad?
|
| public MultiIdentifierLoadAccess | 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 MultiIdentifierLoadAccess | enableSessionCheck(boolean
true if they should be excluded;
false if they should be included.Implements org. |
| public Integer | getBatchSize()
Implements org. |
| public LockOptions | getLockOptions()
Implements org. |
| public boolean | isOrderReturnEnabled()
Implements org. |
| public boolean | isReturnOfDeletedEntitiesEnabled()
Implements org. |
| public boolean | isSecondLevelCacheCheckingEnabled()
Implements org. |
| public boolean | isSessionCheckingEnabled()
Implements org. |
| public <K> List | multiLoad(K...
The ids to load ids)Implements org. |
| public <K> List | multiLoad(List<K>
The ids to load ids)Implements org. |
| public List | |
| public final MultiIdentifierLoadAccess | with(LockOptions
The lock options to use lockOptions)Implements org. |
| public MultiIdentifierLoadAccess | with(CacheMode
The cacheMode)CacheMode to useImplements org. CacheMode to use when obtaining an entity.
|
| public MultiIdentifierLoadAccess | with(RootGraph<T> graph, GraphSemantic semantic)
Implements org. |
| public MultiIdentifierLoadAccess | withBatchSize(int
The batch size batchSize)Implements org. |
| batchSize | back to summary |
|---|---|
| private Integer batchSize | |
| cacheMode | back to summary |
|---|---|
| private CacheMode cacheMode | |
| entityPersister | back to summary |
|---|---|
| private final EntityPersister entityPersister | |
| 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 | |
| sessionCheckingEnabled | back to summary |
|---|---|
| private boolean sessionCheckingEnabled | |
| MultiIdentifierLoadAccessImpl | back to summary |
|---|---|
| public MultiIdentifierLoadAccessImpl(SessionImpl session, EntityPersister entityPersister) | |
| enableOrderedReturn | back to summary |
|---|---|
| public MultiIdentifierLoadAccess 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 MultiIdentifierLoadAccess Implements org. Doc from org. Should
By default, instances marked for removal are replaced by null in
the returned list of entities when
| |
| enableSessionCheck | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Implements org. Doc from org. 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. By default, all ids are included and sent to the database.
| |
| 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.
| |
| isSecondLevelCacheCheckingEnabled | back to summary |
|---|---|
| public boolean isSecondLevelCacheCheckingEnabled() Implements org. Doc from org. Check the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.
| |
| isSessionCheckingEnabled | back to summary |
|---|---|
| public boolean isSessionCheckingEnabled() Implements org. Doc from org. Check the first-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.
| |
| multiLoad | back to summary |
|---|---|
| public <K> List Implements org. Doc from org. Retrieve the entities with the given identifiers.
Note that the options
| |
| multiLoad | back to summary |
|---|---|
| public <K> List Implements org. Doc from org. Retrieve the entities with the given identifiers.
Note that the options
| |
| perform | back to summary |
|---|---|
| public List | |
| with | back to summary |
|---|---|
| public final MultiIdentifierLoadAccess Implements org. Doc from org. Specify the lock options to use when querying the database.
| |
| with | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Implements org. Doc from org. Specify the
| |
| with | back to summary |
|---|---|
| public MultiIdentifierLoadAccess 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 MultiIdentifierLoadAccess 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.
| |