public class BatchFetchQueueHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
removeBatchLoadableEntityKey(Serializable id,
EntityPersister persister,
SharedSessionContractImplementor session)
Remove the entity key with the specified
id and persister from
the batch loadable entities BatchFetchQueue . |
static void |
removeNotFoundBatchLoadableEntityKeys(Serializable[] ids,
List<?> results,
EntityPersister persister,
SharedSessionContractImplementor session)
Finds the IDs for entities that were not found when the batch was loaded, and removes
the corresponding entity keys from the
BatchFetchQueue . |
public static void removeNotFoundBatchLoadableEntityKeys(Serializable[] ids, List<?> results, EntityPersister persister, SharedSessionContractImplementor session)
BatchFetchQueue
.ids
- - the IDs for the entities that were batch loadedresults
- - the results from loading the batchpersister
- - the entity persister for the entities in batchsession
- - the sessionpublic static void removeBatchLoadableEntityKey(Serializable id, EntityPersister persister, SharedSessionContractImplementor session)
id
and persister
from
the batch loadable entities BatchFetchQueue
.id
- - the ID for the entity to be removedpersister
- - the entity persistersession
- - the sessionCopyright © 2021 JBoss by Red Hat. All rights reserved.