Class EntityJoinedFetchInitializer
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParentAccess
-
- org.hibernate.sql.results.graph.entity.AbstractEntityInitializer
-
- org.hibernate.sql.results.graph.entity.internal.EntityJoinedFetchInitializer
-
- All Implemented Interfaces:
EntityInitializer
,FetchParentAccess
,Initializer
public class EntityJoinedFetchInitializer extends AbstractEntityInitializer
-
-
Field Summary
-
Fields inherited from class org.hibernate.sql.results.graph.entity.AbstractEntityInitializer
missing
-
-
Constructor Summary
Constructors Constructor Description EntityJoinedFetchInitializer(EntityResultGraphNode resultDescriptor, EntityValuedFetchable referencedFetchable, NavigablePath navigablePath, LockMode lockMode, NotFoundAction notFoundAction, DomainResult<?> keyResult, DomainResult<Object> rowIdResult, Fetch identifierFetch, Fetch discriminatorFetch, AssemblerCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
getProxy(PersistenceContext persistenceContext)
protected String
getSimpleConcreteImplName()
Simple class name of this initializer for loggingprotected boolean
isEntityReturn()
protected void
registerLoadingEntityInstanceFromExecutionContext(RowProcessingState rowProcessingState, Object instance)
void
resolveKey(RowProcessingState rowProcessingState)
Step 1 - Resolve the key value for this initializer for the current row.String
toString()
-
Methods inherited from class org.hibernate.sql.results.graph.entity.AbstractEntityInitializer
consistentInstance, extractConcreteTypeStateValues, finishUpRow, getAssemblers, getConcreteDescriptor, getEntityDescriptor, getEntityInstance, getEntityInstanceForNotify, getEntityInstanceFromExecutionContext, getEntityKey, getIdentifierAssembler, getInitializedPart, getKeyValue, getLockMode, getNavigablePath, getParentKey, getResolvedEntityState, getRowIdAssembler, getVersionAssembler, initializeInstance, instantiateEntity, isEntityInitialized, isMissing, isOwningInitializer, preLoad, registerLoadingEntity, registerNaturalIdResolution, registerPossibleUniqueKeyEntries, registerReloadedEntity, registerResolutionListener, resolveEntityInstance, resolveEntityInstance, resolveEntityKey, resolveInstance, setEntityInitialized, setEntityInstanceForNotify, setMissing, setResolvedEntityState, shouldSkipResolveInstance, skipInitialization, takeSnapshot, updateCaches
-
Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParentAccess
clearResolutionListeners, notifyResolutionListeners
-
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, findFirstEntityDescriptorAccess, findFirstEntityInitializer, getInitializedInstance, isEntityInitializer
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParentAccess
getFetchParentAccess
-
Methods inherited from interface org.hibernate.sql.results.graph.Initializer
asEmbeddableInitializer, endLoading, isAttributeAssignableToConcreteDescriptor, isCollectionInitializer, isEmbeddableInitializer
-
-
-
-
Constructor Detail
-
EntityJoinedFetchInitializer
public EntityJoinedFetchInitializer(EntityResultGraphNode resultDescriptor, EntityValuedFetchable referencedFetchable, NavigablePath navigablePath, LockMode lockMode, NotFoundAction notFoundAction, DomainResult<?> keyResult, DomainResult<Object> rowIdResult, Fetch identifierFetch, Fetch discriminatorFetch, AssemblerCreationState creationState)
-
-
Method Detail
-
resolveKey
public void resolveKey(RowProcessingState rowProcessingState)
Description copied from interface:Initializer
Step 1 - Resolve the key value for this initializer for the current row. After this point, the initializer knows the entity/collection/component key for the current row- Specified by:
resolveKey
in interfaceInitializer
- Overrides:
resolveKey
in classAbstractEntityInitializer
-
getProxy
protected Object getProxy(PersistenceContext persistenceContext)
- Overrides:
getProxy
in classAbstractEntityInitializer
-
registerLoadingEntityInstanceFromExecutionContext
protected void registerLoadingEntityInstanceFromExecutionContext(RowProcessingState rowProcessingState, Object instance)
- Specified by:
registerLoadingEntityInstanceFromExecutionContext
in classAbstractEntityInitializer
-
getSimpleConcreteImplName
protected String getSimpleConcreteImplName()
Description copied from class:AbstractEntityInitializer
Simple class name of this initializer for logging- Specified by:
getSimpleConcreteImplName
in classAbstractEntityInitializer
-
isEntityReturn
protected boolean isEntityReturn()
- Specified by:
isEntityReturn
in classAbstractEntityInitializer
-
-