Top Fields Constructors Methods
org.hibernate.sql.results.graph.entity.internal

public Class EntityJoinedFetchInitializer

extends AbstractEntityInitializer
Class Inheritance
Imports
org.hibernate.FetchNotFoundException, .LockMode, org.hibernate.annotations.NotFoundAction, org.hibernate.internal.log.LoggingHelper, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.AssemblerCreationState, .DomainResult, .DomainResultAssembler, .Fetch, org.hibernate.sql.results.graph.entity.AbstractEntityInitializer, .EntityLoadingLogging, .EntityResultGraphNode, .EntityValuedFetchable, org.hibernate.sql.results.jdbc.spi.RowProcessingState

Author
Andrea Boriero

Field Summary

Modifier and TypeField and Description
private static final String
private final DomainResultAssembler<?>
private final NotFoundAction
private final EntityValuedFetchable
Inherited from org.hibernate.sql.results.graph.entity.AbstractEntityInitializer:
missing

Constructor Summary

AccessConstructor and Description
public
EntityJoinedFetchInitializer(EntityResultGraphNode resultDescriptor, EntityValuedFetchable referencedFetchable, NavigablePath navigablePath, LockMode lockMode, NotFoundAction notFoundAction, DomainResult<?> keyResult, DomainResult<Object> rowIdResult, Fetch identifierFetch, Fetch discriminatorFetch, AssemblerCreationState creationState)

Method Summary

Modifier and TypeMethod and Description
protected String
protected boolean
protected void
public void
resolveKey(RowProcessingState rowProcessingState)

Overrides org.hibernate.sql.results.graph.entity.AbstractEntityInitializer.resolveKey.

Implements org.hibernate.sql.results.graph.Initializer.resolveKey.

Step 1 - Resolve the key value for this initializer for the current row.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.sql.results.graph.entity.AbstractEntityInitializer:
consistentInstanceextractConcreteTypeStateValuesfinishUpRowgetAssemblersgetConcreteDescriptorgetEntityDescriptorgetEntityFromExecutionContextgetEntityInstancegetEntityInstanceForNotifygetEntityKeygetIdentifierAssemblergetInitializedPartgetKeyValuegetLockModegetNavigablePathgetParentKeygetResolvedEntityStategetRowIdAssemblergetVersionAssemblerinitializeInstanceinstantiateEntityisEntityInitializedisMissingpreLoadregisterLoadingEntityregisterNaturalIdResolutionregisterPossibleUniqueKeyEntriesregisterReloadedEntityregisterReloadedEntityregisterResolutionListenerresolveEntityInstanceresolveEntityInstanceresolveEntityKeyresolveInstanceresolveInstancesetEntityInitializedsetEntityInstanceForNotifysetMissingsetResolvedEntityStateshouldSkipResolveInstanceskipInitializationtakeSnapshotupdateCaches

Field Detail

CONCRETE_NAMEback to summary
private static final String CONCRETE_NAME
keyAssemblerback to summary
private final DomainResultAssembler<?> keyAssembler
notFoundActionback to summary
private final NotFoundAction notFoundAction
referencedFetchableback to summary
private final EntityValuedFetchable referencedFetchable

Constructor Detail

EntityJoinedFetchInitializerback to summary
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

getSimpleConcreteImplNameback to summary
protected String getSimpleConcreteImplName()

Implements abstract org.hibernate.sql.results.graph.entity.AbstractEntityInitializer.getSimpleConcreteImplName.

Doc from org.hibernate.sql.results.graph.entity.AbstractEntityInitializer.getSimpleConcreteImplName.

Simple class name of this initializer for logging

Annotations
@Override
isEntityReturnback to summary
protected boolean isEntityReturn()

Implements abstract org.hibernate.sql.results.graph.entity.AbstractEntityInitializer.isEntityReturn.

Annotations
@Override
registerLoadingEntityInstanceFromExecutionContextback to summary
protected void registerLoadingEntityInstanceFromExecutionContext(RowProcessingState rowProcessingState, Object instance)

Implements abstract org.hibernate.sql.results.graph.entity.AbstractEntityInitializer.registerLoadingEntityInstanceFromExecutionContext.

Annotations
@Override
resolveKeyback to summary
public void resolveKey(RowProcessingState rowProcessingState)

Overrides org.hibernate.sql.results.graph.entity.AbstractEntityInitializer.resolveKey.

Implements org.hibernate.sql.results.graph.Initializer.resolveKey.

Doc from org.hibernate.sql.results.graph.Initializer.resolveKey.

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

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override