Class MultiIdEntityLoaderInPredicate<T>
java.lang.Object
org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader<T>
org.hibernate.loader.ast.internal.MultiIdEntityLoaderInPredicate<T>
- All Implemented Interfaces:
EntityLoader,EntityMultiLoader<T>,Loader,MultiIdEntityLoader<T>,MultiKeyLoader
Standard implementation of
MultiIdEntityLoader
which uses a SQL in condition containing multiple JDBC parameters.-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
AbstractMultiIdEntityLoader.ResolutionConsumer<T> -
Field Summary
Fields inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
identifierMapping -
Constructor Summary
ConstructorsConstructorDescriptionMultiIdEntityLoaderInPredicate(EntityPersister entityDescriptor, int idColumnSpan, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidloadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) protected voidloadEntitiesWithUnresolvedIds(Object[] unresolvableIds, MultiIdLoadOptions loadOptions, LockOptions lockOptions, List<T> results, SharedSessionContractImplementor session) protected intmaxBatchSize(Object[] ids, MultiIdLoadOptions loadOptions) protected Object[]Methods inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
getEntityDescriptor, getIdentifierMapping, getJdbcSelectExecutor, getJdbcServices, getLoadable, getSessionFactory, getSqlAstTranslatorFactory, load, unorderedMultiLoad
-
Constructor Details
-
MultiIdEntityLoaderInPredicate
public MultiIdEntityLoaderInPredicate(EntityPersister entityDescriptor, int idColumnSpan, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
maxBatchSize
- Specified by:
maxBatchSizein classAbstractMultiIdEntityLoader<T>
-
toIdArray
- Specified by:
toIdArrayin classAbstractMultiIdEntityLoader<T>
-