Top Description Fields Constructors Methods
org.hibernate.engine

public Class FetchStrategy

extends Object
Class Inheritance

Describes the strategy for fetching an association, which includes both when and how.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final FetchStyle
private final FetchTiming

Constructor Summary

AccessConstructor and Description
public
FetchStrategy(FetchTiming
The fetch timing (the when)
timing
,
FetchStyle
The fetch style (the how).
style
)

Constructs a FetchStrategy.

Method Summary

Modifier and TypeMethod and Description
public FetchStyle
public FetchTiming
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

styleback to summary
private final FetchStyle style
timingback to summary
private final FetchTiming timing

Constructor Detail

FetchStrategyback to summary
public FetchStrategy(FetchTiming timing, FetchStyle style)

Constructs a FetchStrategy.

Parameters
timing:FetchTiming

The fetch timing (the when)

style:FetchStyle

The fetch style (the how).

Method Detail

getStyleback to summary
public FetchStyle getStyle()
getTimingback to summary
public FetchTiming getTiming()