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 String
The name of an implicit fetch profile which includes all eager to-one associations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Fetch
getFetchByRole
(String role) Obtain the fetch override associated with the given role.A map ofFetch
instances, keyed by association roleboolean
Methods 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:FetchProfile
Obtain the fetch override associated with the given role.- Overrides:
getFetchByRole
in classFetchProfile
- Parameters:
role
- The role name identifying the association- Returns:
- The
Fetch
, ornull
if there was noFetch
for the given association
-
hasSubselectLoadableCollectionsEnabled
- Overrides:
hasSubselectLoadableCollectionsEnabled
in classFetchProfile
-
getFetches
Description copied from class:FetchProfile
A map ofFetch
instances, keyed by association role- Overrides:
getFetches
in classFetchProfile
-