Class BatchInitializeEntitySelectFetchInitializer
- java.lang.Object
-
- org.hibernate.sql.results.graph.internal.AbstractInitializer<Data>
-
- org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer<Data>
-
- org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer<BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData>
-
- org.hibernate.sql.results.graph.entity.internal.BatchInitializeEntitySelectFetchInitializer
-
- All Implemented Interfaces:
EntityInitializer<BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData>
,Initializer<BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData>
,InitializerParent<BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData>
public class BatchInitializeEntitySelectFetchInitializer extends AbstractBatchEntitySelectFetchInitializer<BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData>
Loads entities from the persistence context or creates proxies if not found there, and initializes all proxies in a batch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData
-
Nested classes/interfaces inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
AbstractBatchEntitySelectFetchInitializer.AbstractBatchEntitySelectFetchInitializerData
-
Nested classes/interfaces inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
EntitySelectFetchInitializer.EntitySelectFetchInitializerData
-
Nested classes/interfaces inherited from interface org.hibernate.sql.results.graph.Initializer
Initializer.State
-
-
Field Summary
-
Fields inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
owningEntityInitializer
-
Fields inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
affectedByFilter, concreteDescriptor, hasLazySubInitializer, keyAssembler, keyIsEager, parent, toOneMapping
-
Fields inherited from class org.hibernate.sql.results.graph.internal.AbstractInitializer
initializerId
-
Fields inherited from interface org.hibernate.sql.results.graph.Initializer
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description BatchInitializeEntitySelectFetchInitializer(InitializerParent<?> parent, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InitializerData
createInitializerData(RowProcessingState rowProcessingState)
void
endLoading(BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData data)
Lifecycle method called at the very end of the result values processingprotected void
registerResolutionListener(BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData data)
protected void
registerToBatchFetchQueue(BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData data)
String
toString()
-
Methods inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
getExistingInitializedInstance, getParentEntityAttribute, getParentEntityAttributes, initializeInstance, initializeInstanceFromParent, loadInstance, resolveInstance, resolveInstance, resolveInstanceFromIdentifier, resolveKey
-
Methods inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
forEachSubInitializer, getConcreteDescriptor, getEntityDescriptor, getEntityIdentifier, getInitializedPart, getKeyAssembler, getNavigablePath, getParent, hasLazySubInitializers, initialize, isEager, isPartOfKey, isResultInitializer, resolveFromPreviousRow, resolveState
-
Methods inherited from class org.hibernate.sql.results.graph.internal.AbstractInitializer
finishUpRow, getData, startLoading
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityInitializer
asEntityInitializer, getConcreteDescriptor, getConcreteDescriptor, getEntityDescriptor, getEntityIdentifier, getEntityIdentifier, getTargetInstance, getTargetInstance, isEntityInitializer, resetResolvedEntityRegistrations, resolveEntityKeyOnly
-
Methods inherited from interface org.hibernate.sql.results.graph.Initializer
asCollectionInitializer, asEmbeddableInitializer, endLoading, findOwningEntityInitializer, finishUpRow, finishUpRow, getData, getInitializedPart, getNavigablePath, getParent, getResolvedInstance, getResolvedInstance, hasLazySubInitializers, initializeInstance, initializeInstanceFromParent, isCollectionInitializer, isEager, isEmbeddableInitializer, isLazyCapable, isPartOfKey, isResultInitializer, resolveFromPreviousRow, resolveFromPreviousRow, resolveInstance, resolveInstance, resolveKey, resolveState, resolveState, startLoading
-
-
-
-
Constructor Detail
-
BatchInitializeEntitySelectFetchInitializer
public BatchInitializeEntitySelectFetchInitializer(InitializerParent<?> parent, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState)
-
-
Method Detail
-
createInitializerData
protected InitializerData createInitializerData(RowProcessingState rowProcessingState)
-
registerResolutionListener
protected void registerResolutionListener(BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData data)
-
registerToBatchFetchQueue
protected void registerToBatchFetchQueue(BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData data)
-
endLoading
public void endLoading(BatchInitializeEntitySelectFetchInitializer.BatchInitializeEntitySelectFetchInitializerData data)
Description copied from interface:Initializer
Lifecycle method called at the very end of the result values processing
-
toString
public String toString()
-
-