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

public Class FetchGraphLoadPlanBuildingStrategy

extends AbstractEntityGraphVisitationStrategy
Class Inheritance
Imports
org.hibernate.LockMode, org.hibernate.engine.FetchStrategy, 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.fetchgraph mode.
Author
Strong Liu

Field Summary

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

Constructor Summary

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

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public
FetchGraphLoadPlanBuildingStrategy(final SessionFactoryImplementor sessionFactory, RootGraphImplementor<J> graph, final LoadQueryInfluencers loadQueryInfluencers, final 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<J> rootEntityGraph

Constructor Detail

FetchGraphLoadPlanBuildingStrategyback to summary
public FetchGraphLoadPlanBuildingStrategy(final SessionFactoryImplementor sessionFactory, final LoadQueryInfluencers loadQueryInfluencers, final LockMode lockMode)

Deprecated

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

FetchGraphLoadPlanBuildingStrategyback to summary
public FetchGraphLoadPlanBuildingStrategy(final SessionFactoryImplementor sessionFactory, RootGraphImplementor<J> graph, final LoadQueryInfluencers loadQueryInfluencers, final 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