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

public Class CascadeStyleLoadPlanBuildingAssociationVisitationStrategy

extends FetchStyleLoadPlanBuildingAssociationVisitationStrategy
Class Inheritance
Imports
org.hibernate.LockMode, org.hibernate.engine.FetchStrategy, .FetchStyle, .FetchTiming, org.hibernate.engine.spi.CascadingAction, .LoadQueryInfluencers, .SessionFactoryImplementor, org.hibernate.persister.walking.spi.AssociationAttributeDefinition

A LoadPlan building strategy for cascade processing; meaning, it builds the LoadPlan for loading related to cascading a particular action across associations
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final CascadingAction
private static final FetchStrategy
private static final FetchStrategy

Constructor Summary

AccessConstructor and Description
public
CascadeStyleLoadPlanBuildingAssociationVisitationStrategy(CascadingAction
The particular cascading action that an attribute definition must match to eagerly fetch that attribute.
cascadeActionToMatch
,
SessionFactoryImplementor
The session factory
sessionFactory
,
LoadQueryInfluencers
The options which can influence the SQL query needed to perform the load.
loadQueryInfluencers
,
LockMode
The lock mode.
lockMode
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Constructs a CascadeStyleLoadPlanBuildingAssociationVisitationStrategy.

Method Summary

Modifier and TypeMethod and Description
protected FetchStrategy
Inherited from org.hibernate.loader.plan.build.internal.FetchStyleLoadPlanBuildingAssociationVisitationStrategy:
addRootReturnadjustJoinFetchIfNeededbuildLoadPlanfinishingEntityIdentifierhandleAssociationAttributeisTooManyCollectionsstartingEntityIdentifiersupportsRootCollectionReturnssupportsRootEntityReturns

Field Detail

cascadeActionToMatchback to summary
private final CascadingAction cascadeActionToMatch
DELAYEDback to summary
private static final FetchStrategy DELAYED
EAGERback to summary
private static final FetchStrategy EAGER

Constructor Detail

CascadeStyleLoadPlanBuildingAssociationVisitationStrategyback to summary
public CascadeStyleLoadPlanBuildingAssociationVisitationStrategy(CascadingAction cascadeActionToMatch, SessionFactoryImplementor sessionFactory, LoadQueryInfluencers loadQueryInfluencers, LockMode lockMode)

Deprecated

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

Constructs a CascadeStyleLoadPlanBuildingAssociationVisitationStrategy.

Parameters
cascadeActionToMatch:CascadingAction

The particular cascading action that an attribute definition must match to eagerly fetch that attribute.

sessionFactory:SessionFactoryImplementor

The session factory

loadQueryInfluencers:LoadQueryInfluencers

The options which can influence the SQL query needed to perform the load.

lockMode:LockMode

The lock mode.

Method Detail

determineFetchStrategyback to summary
protected FetchStrategy determineFetchStrategy(AssociationAttributeDefinition attributeDefinition)

Overrides org.hibernate.loader.plan.build.internal.FetchStyleLoadPlanBuildingAssociationVisitationStrategy.determineFetchStrategy.

Annotations
@Override