public class BatchFetchQueueHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
removeBatchLoadableEntityKey(java.io.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(java.io.Serializable[] ids,
java.util.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(java.io.Serializable[] ids, java.util.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(java.io.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 © 2001-2018 Red Hat, Inc. All Rights Reserved.