Package org.hibernate.engine.profile
Class DefaultFetchProfile
java.lang.Object
org.hibernate.engine.profile.FetchProfile
org.hibernate.engine.profile.DefaultFetchProfile
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of an implicit fetch profile which includes all eager to-one associations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable FetchgetFetchByRole(String role) Obtain the fetch override associated with the given role.A map ofFetchinstances, keyed by association rolebooleanMethods inherited from class org.hibernate.engine.profile.FetchProfile
addFetch, getName, toString
-
Field Details
-
HIBERNATE_DEFAULT_PROFILE
The name of an implicit fetch profile which includes all eager to-one associations.- See Also:
-
-
Constructor Details
-
DefaultFetchProfile
-
-
Method Details
-
getFetchByRole
Description copied from class:FetchProfileObtain the fetch override associated with the given role.- Overrides:
getFetchByRolein classFetchProfile- Parameters:
role- The role name identifying the association- Returns:
- The
Fetch, ornullif there was noFetchfor the given association
-
hasSubselectLoadableCollectionsEnabled
- Overrides:
hasSubselectLoadableCollectionsEnabledin classFetchProfile
-
getFetches
Description copied from class:FetchProfileA map ofFetchinstances, keyed by association role- Overrides:
getFetchesin classFetchProfile
-