Package org.hibernate.engine.internal
Class BatchFetchQueueHelper
- java.lang.Object
-
- org.hibernate.engine.internal.BatchFetchQueueHelper
-
public class BatchFetchQueueHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
removeBatchLoadableEntityKey(Object id, EntityMappingType entityMappingType, SharedSessionContractImplementor session)
static void
removeBatchLoadableEntityKey(Object id, EntityPersister persister, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.static void
removeBatchLoadableEntityKey(EntityKey entityKey, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.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 theBatchFetchQueue
.
-
-
-
Method Detail
-
removeNotFoundBatchLoadableEntityKeys
public 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 theBatchFetchQueue
.- Parameters:
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 session
-
removeBatchLoadableEntityKey
public static void removeBatchLoadableEntityKey(Object id, EntityPersister persister, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.
-
removeBatchLoadableEntityKey
public static void removeBatchLoadableEntityKey(EntityKey entityKey, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.
-
removeBatchLoadableEntityKey
public static void removeBatchLoadableEntityKey(Object id, EntityMappingType entityMappingType, SharedSessionContractImplementor session)
-
-