Top Description Constructors Methods
org.hibernate.internal

public Class FetchProfileHelper

extends Object
Class Inheritance
Imports
org.hibernate.HibernateException, org.hibernate.boot.spi.MetadataImplementor, org.hibernate.engine.FetchStyle, .FetchTiming, org.hibernate.engine.profile.Association, .DefaultFetchProfile, .Fetch, .FetchProfile, org.hibernate.engine.profile.internal.FetchProfileAffectee, org.hibernate.metamodel.MappingMetamodel, .RuntimeMetamodels, org.hibernate.metamodel.mapping.EntityValuedModelPart, .ModelPart, .PluralAttributeMapping, org.hibernate.persister.entity.EntityPersister, java.util.HashMap, .Map

Create FetchProfile references from org.hibernate.mapping.FetchProfile references
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static FetchProfile
createFetchProfile(MappingMetamodel mappingMetamodel, FetchProfile mappingProfile)

private static EntityPersister
getEntityPersister(MappingMetamodel mappingMetamodel, FetchProfile fetchProfile, FetchProfile.Fetch mappingFetch)

public static Map<String, FetchProfile>
getFetchProfiles(MetadataImplementor bootMetamodel, RuntimeMetamodels runtimeMetamodels)

Deprecated as a consequence of MetadataImplementor being deprecated.
private static boolean
isAssociation(ModelPart fetchablePart)

private static void
validateFetchablePart(ModelPart fetchablePart, String profileName, Association association)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FetchProfileHelperback to summary
public FetchProfileHelper()

Method Detail

createFetchProfileback to summary
private static FetchProfile createFetchProfile(MappingMetamodel mappingMetamodel, FetchProfile mappingProfile)
getEntityPersisterback to summary
private static EntityPersister getEntityPersister(MappingMetamodel mappingMetamodel, FetchProfile fetchProfile, FetchProfile.Fetch mappingFetch)
getFetchProfilesback to summary
public static Map<String, FetchProfile> getFetchProfiles(MetadataImplementor bootMetamodel, RuntimeMetamodels runtimeMetamodels)

Deprecated

as a consequence of MetadataImplementor being deprecated. See corresponding docs for further information.

isAssociationback to summary
private static boolean isAssociation(ModelPart fetchablePart)
validateFetchablePartback to summary
private static void validateFetchablePart(ModelPart fetchablePart, String profileName, Association association)