Top Fields Constructors Methods
org.hibernate.engine.profile

public Class DefaultFetchProfile

extends FetchProfile
Class Inheritance
Imports
org.hibernate.metamodel.RuntimeMetamodels, org.hibernate.metamodel.mapping.AttributeMapping, .AttributeMappingsList, .EntityMappingType, org.hibernate.persister.entity.EntityPersister, org.hibernate.sql.results.graph.FetchOptions, org.hibernate.tuple.NonIdentifierAttribute, java.util.Map, org.checkerframework.checker.nullness.qual.Nullable

Author
Gavin King

Field Summary

Modifier and TypeField and Description
public static final String
HIBERNATE_DEFAULT_PROFILE

The name of an implicit fetch profile which includes all eager to-one associations.

private final RuntimeMetamodels

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable Fetch
getFetchByRole(String
The role name identifying the association
role
)

Overrides org.hibernate.engine.profile.FetchProfile.getFetchByRole.

Obtain the fetch override associated with the given role.
public Map<String, Fetch>
getFetches()

Overrides org.hibernate.engine.profile.FetchProfile.getFetches.

A map of Fetch instances, keyed by association role
public boolean
Inherited from org.hibernate.engine.profile.FetchProfile:
addFetchaddFetchaddFetchgetNameisContainsJoinFetchedBagisContainsJoinFetchedCollectiontoString

Field Detail

HIBERNATE_DEFAULT_PROFILEback to summary
public static final String HIBERNATE_DEFAULT_PROFILE

The name of an implicit fetch profile which includes all eager to-one associations.

metamodelsback to summary
private final RuntimeMetamodels metamodels

Constructor Detail

DefaultFetchProfileback to summary
public DefaultFetchProfile(RuntimeMetamodels metamodels)

Method Detail

getFetchByRoleback to summary
public @Nullable Fetch getFetchByRole(String role)

Overrides org.hibernate.engine.profile.FetchProfile.getFetchByRole.

Doc from org.hibernate.engine.profile.FetchProfile.getFetchByRole.

Obtain the fetch override associated with the given role.

Parameters
role:String

The role name identifying the association

Returns:@Nullable Fetch

The Fetch, or null if there was no Fetch for the given association

Annotations
@Override
getFetchesback to summary
public Map<String, Fetch> getFetches()

Overrides org.hibernate.engine.profile.FetchProfile.getFetches.

Doc from org.hibernate.engine.profile.FetchProfile.getFetches.

A map of Fetch instances, keyed by association role

Annotations
@Override
hasSubselectLoadableCollectionsEnabledback to summary
public boolean hasSubselectLoadableCollectionsEnabled(EntityPersister persister)

Overrides org.hibernate.engine.profile.FetchProfile.hasSubselectLoadableCollectionsEnabled.

Annotations
@Override