Top Description Methods
org.hibernate.loader.ast.spi

public Interface BatchLoaderFactory

extends Service
Known Direct Implementers
org.hibernate.loader.ast.internal.StandardBatchLoaderFactory
Imports
org.hibernate.engine.spi.LoadQueryInfluencers, .SessionFactoryImplementor, org.hibernate.metamodel.mapping.EntityMappingType, .PluralAttributeMapping, org.hibernate.service.Service

Factory for BatchLoader instances
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public CollectionBatchLoader
createCollectionBatchLoader(int
The total number of collections (max) that will be initialized for any CollectionBatchLoader#load
domainBatchSize
,
LoadQueryInfluencers
Any load query influencers (filters, fetch-profiles, ...) to apply to the SQL
influencers
,
PluralAttributeMapping
The collection mapping metadata
attributeMapping
,
SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create a BatchLoader for batch-loadable collections.
public <T> EntityBatchLoader<T>
createEntityBatchLoader(int
The total number of entities (max) that will be need to be initialized
domainBatchSize
,
EntityMappingType
The entity mapping metadata
entityDescriptor
,
SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create a BatchLoader for batch-loadable entities.

Method Detail

createCollectionBatchLoaderback to summary
public CollectionBatchLoader createCollectionBatchLoader(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create a BatchLoader for batch-loadable collections.

Parameters
domainBatchSize:int

The total number of collections (max) that will be initialized for any CollectionBatchLoader#load

influencers:LoadQueryInfluencers

Any load query influencers (filters, fetch-profiles, ...) to apply to the SQL

attributeMapping:PluralAttributeMapping

The collection mapping metadata

createEntityBatchLoaderback to summary
public <T> EntityBatchLoader<T> createEntityBatchLoader(int domainBatchSize, EntityMappingType entityDescriptor, SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create a BatchLoader for batch-loadable entities.

Parameters
domainBatchSize:int

The total number of entities (max) that will be need to be initialized

entityDescriptor:EntityMappingType

The entity mapping metadata