org.hibernate.loader.BatchFetchStyle for a discussion of the different styles.
org.hibernate.loader.BatchFetchStyle#PADDED
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final PaddedBatchingCollectionInitializerBuilder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CollectionInitializer | createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
Implements abstract org.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public CollectionInitializer | createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
Implements abstract org.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| INSTANCE | back to summary |
|---|---|
| public static final PaddedBatchingCollectionInitializerBuilder INSTANCE | |
| PaddedBatchingCollectionInitializerBuilder | back to summary |
|---|---|
| public PaddedBatchingCollectionInitializerBuilder() | |
| createRealBatchingCollectionInitializer | back to summary |
|---|---|
| public CollectionInitializer createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException Implements abstract org. Deprecated as a consequence of
| |
| createRealBatchingOneToManyInitializer | back to summary |
|---|---|
| public CollectionInitializer createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException Implements abstract org. Deprecated as a consequence of
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final Loader[] |
| Access | Constructor and Description |
|---|---|
| public | PaddedBatchingCollectionInitializer(QueryableCollection persister, int[] batchSizes, Loader[] loaders)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | initialize(Serializable id, SharedSessionContractImplementor session)
Implements org. |
| batchSizes | back to summary |
|---|---|
| private final int[] batchSizes | |
| loaders | back to summary |
|---|---|
| private final Loader[] loaders | |
| PaddedBatchingCollectionInitializer | back to summary |
|---|---|
| public PaddedBatchingCollectionInitializer(QueryableCollection persister, int[] batchSizes, Loader[] loaders) | |
| initialize | back to summary |
|---|---|
| public void initialize(Serializable id, SharedSessionContractImplementor session) throws HibernateException Implements org. Doc from org. Initialize the given collection
| |