multiLoad methods, using the various options specified (if any)
| Modifier and Type | Method and Description |
|---|---|
| public MultiIdentifierLoadAccess | Returns: this, for method chainingtrue (the default) enables ordering;
false disables it.Should the return List be ordered and positional in relation to the incoming ids? |
| public MultiIdentifierLoadAccess | Returns: this, for method chainingtrue enables returning the deleted entities;
false (the default) disables it.Should the multi-load operation be allowed to return entities that are locally deleted? |
| public MultiIdentifierLoadAccess | Returns: this, for method chainingtrue enables this checking; false (the default) disables it.Specify whether we should check the |
| public < The identifier type K extends Serializable> List | Returns: The persistent entities.The ids to load ids)Perform a load of multiple entities by identifiers. |
| public < The identifier type K extends Serializable> List | |
| public MultiIdentifierLoadAccess | Returns: this, for method chainingThe lock options to use. lockOptions)Specify the |
| public MultiIdentifierLoadAccess | |
| public default MultiIdentifierLoadAccess | |
| public MultiIdentifierLoadAccess | |
| public MultiIdentifierLoadAccess | Returns: this, for method chainingThe batch size batchSize)Specify a batch size for loading the entities (how many at a time). |
| enableOrderedReturn | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Should the return List be ordered and positional in relation to the
incoming ids? If enabled (the default), the return List is ordered and
positional relative to the incoming ids. In other words, a request to
An important distinction is made here in regards to the handling of unknown entities depending on this "ordered return" setting. If enabled a null is inserted into the List at the proper position(s). If disabled, the nulls are not put into the return List. In other words, consumers of the returned ordered List would need to be able to handle null elements.
| |
| enableReturnOfDeletedEntities | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Should the multi-load operation be allowed to return entities that are locally
deleted? A locally deleted entity is one which has been passed to this
Session's
| |
| enableSessionCheck | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Specify whether we should check the
| |
| multiLoad | back to summary |
|---|---|
| public <K extends Serializable> List Perform a load of multiple entities by identifiers. See
| |
| multiLoad | back to summary |
|---|---|
| public <K extends Serializable> List Perform a load of multiple entities by identifiers. See | |
| with | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Specify the
| |
| with | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Specify the
| |
| with | back to summary |
|---|---|
| public default MultiIdentifierLoadAccess | |
| with | back to summary |
|---|---|
| public MultiIdentifierLoadAccess | |
| withBatchSize | back to summary |
|---|---|
| public MultiIdentifierLoadAccess Specify a batch size for loading the entities (how many at a time). The default is to use a batch sizing strategy defined by the Dialect in use. Any greater-than-one value here will override that default behavior. If giving an explicit value here, care should be taken to not exceed the capabilities of of the underlying database. Note that overall a batch-size is considered a hint. How the underlying loading mechanism interprets that is completely up to that underlying loading mechanism.
| |