public final class FetchStrategyHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static FetchStyle | determineFetchStyleByMetadata(FetchMode mappingFetchMode,
                             AssociationType type,
                             SessionFactoryImplementor sessionFactory) | 
| static FetchStyle | determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers,
                            EntityPersister persister,
                            PropertyPath path,
                            int propertyNumber)Determine the fetch-style (if one) explicitly set for this association via fetch profiles. | 
| static FetchTiming | determineFetchTiming(FetchStyle style,
                    AssociationType type,
                    SessionFactoryImplementor sessionFactory) | 
| static boolean | isJoinFetched(FetchStrategy fetchStrategy) | 
public static FetchStyle determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers, EntityPersister persister, PropertyPath path, int propertyNumber)
loadQueryInfluencers - persister - path - propertyNumber - public static FetchStyle determineFetchStyleByMetadata(FetchMode mappingFetchMode, AssociationType type, SessionFactoryImplementor sessionFactory)
mappingFetchMode - The mapping defined fetch modetype - The association typesessionFactory - The session factorypublic static FetchTiming determineFetchTiming(FetchStyle style, AssociationType type, SessionFactoryImplementor sessionFactory)
public static boolean isJoinFetched(FetchStrategy fetchStrategy)
Copyright © 2017 JBoss by Red Hat. All rights reserved.