public enum FetchType:
Defines when an entity relationship must be loaded.
EAGER requires the relationship to be available with the owning entity. LAZY defers relationship materialization until the relationship loading contract requests it. The effective loading mechanism is implemented by the active data provider and entity manager.