Package org.hibernate.engine
Class FetchStrategy
- java.lang.Object
-
- org.hibernate.engine.FetchStrategy
-
public class FetchStrategy extends java.lang.Object
Describes the strategy for fetching an association, which includes both when and how.
-
-
Constructor Summary
Constructors Constructor Description FetchStrategy(FetchTiming timing, FetchStyle style)
Constructs a FetchStrategy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FetchStyle
getStyle()
FetchTiming
getTiming()
-
-
-
Constructor Detail
-
FetchStrategy
public FetchStrategy(FetchTiming timing, FetchStyle style)
Constructs a FetchStrategy.- Parameters:
timing
- The fetch timing (the when)style
- The fetch style (the how).
-
-
Method Detail
-
getTiming
public FetchTiming getTiming()
-
getStyle
public FetchStyle getStyle()
-
-