类 BatchFetchQueueHelper
- java.lang.Object
-
- org.hibernate.engine.internal.BatchFetchQueueHelper
-
public class BatchFetchQueueHelper extends Object
- 作者:
- Gail Badner
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidremoveBatchLoadableEntityKey(Serializable id, EntityPersister persister, SharedSessionContractImplementor session)Remove the entity key with the specifiedidandpersisterfrom the batch loadable entitiesBatchFetchQueue.static voidremoveNotFoundBatchLoadableEntityKeys(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.
-
-
-
方法详细资料
-
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.- 参数:
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(Serializable id, EntityPersister persister, SharedSessionContractImplementor session)
Remove the entity key with the specifiedidandpersisterfrom the batch loadable entitiesBatchFetchQueue.- 参数:
id- - the ID for the entity to be removedpersister- - the entity persistersession- - the session
-
-