Top Description Fields Constructors Methods
org.hibernate.loader.plan.build.internal

public Class LoadGraphLoadPlanBuildingStrategy

extends AbstractEntityGraphVisitationStrategy
Class Inheritance
Imports
org.hibernate.LockMode, org.hibernate.engine.FetchStrategy, .FetchStyle, .FetchTiming, org.hibernate.engine.spi.LoadQueryInfluencers, .SessionFactoryImplementor, org.hibernate.graph.GraphSemantic, org.hibernate.graph.spi.RootGraphImplementor, org.hibernate.persister.walking.spi.AssociationAttributeDefinition

Loadplan building strategy for javax.persistence.EntityGraph is applied in javax.persistence.loadgraph mode.
Author
Strong Liu

Field Summary

Modifier and TypeField and Description
private final RootGraphImplementor<?>
Inherited from org.hibernate.loader.plan.build.internal.AbstractEntityGraphVisitationStrategy:
DEFAULT_EAGERDEFAULT_LAZYloadQueryInfluencers

Constructor Summary

AccessConstructor and Description
public
LoadGraphLoadPlanBuildingStrategy(final SessionFactoryImplementor sessionFactory, final LoadQueryInfluencers loadQueryInfluencers, final LockMode lockMode)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public
LoadGraphLoadPlanBuildingStrategy(SessionFactoryImplementor factory, RootGraphImplementor<?> graph, LoadQueryInfluencers queryInfluencers, LockMode lockMode)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected RootGraphImplementor<J>
protected FetchStrategy
Inherited from org.hibernate.loader.plan.build.internal.AbstractEntityGraphVisitationStrategy:
addRootReturnadjustJoinFetchIfNeededbuildLoadPlandetermineFetchStrategyfinishfinishingAttributefinishingCollectionElementsfinishingCollectionIndexfoundCircularAssociationstartstartingAttributestartingCollectionElementsstartingCollectionIndexsupportsRootCollectionReturns

Field Detail

rootEntityGraphback to summary
private final RootGraphImplementor<?> rootEntityGraph

Constructor Detail

LoadGraphLoadPlanBuildingStrategyback to summary
public LoadGraphLoadPlanBuildingStrategy(final SessionFactoryImplementor sessionFactory, final LoadQueryInfluencers loadQueryInfluencers, final LockMode lockMode)

Deprecated

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

LoadGraphLoadPlanBuildingStrategyback to summary
public LoadGraphLoadPlanBuildingStrategy(SessionFactoryImplementor factory, RootGraphImplementor<?> graph, LoadQueryInfluencers queryInfluencers, LockMode lockMode)

Deprecated

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

Method Detail

getRootEntityGraphback to summary
protected RootGraphImplementor<J> getRootEntityGraph()

Implements abstract org.hibernate.loader.plan.build.internal.AbstractEntityGraphVisitationStrategy.getRootEntityGraph.

Annotations
@Override
resolveImplicitFetchStrategyFromEntityGraphback to summary
protected FetchStrategy resolveImplicitFetchStrategyFromEntityGraph(final AssociationAttributeDefinition attributeDefinition)

Implements abstract org.hibernate.loader.plan.build.internal.AbstractEntityGraphVisitationStrategy.resolveImplicitFetchStrategyFromEntityGraph.

Annotations
@Override