Top Fields Constructors Methods
org.hibernate.metamodel.mapping.internal

public final Class FetchOptionsHelper

extends Object
Class Inheritance
Imports
org.hibernate.FetchMode, org.hibernate.engine.FetchStyle, .FetchTiming, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.persister.collection.AbstractCollectionPersister, .CollectionPersister, org.hibernate.persister.entity.EntityPersister, org.hibernate.sql.results.graph.FetchOptions, org.hibernate.type.AssociationType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static FetchStyle

Returns:

the fetch style
determineFetchStyleByMetadata
(FetchMode
The mapping defined fetch mode
mappingFetchMode
,
AssociationType
The association type
type
,
SessionFactoryImplementor
The session factory
sessionFactory
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static FetchTiming
determineFetchTiming(FetchStyle style, AssociationType type, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static FetchTiming
determineFetchTiming(FetchStyle style, AssociationType type, boolean lazy, String role, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static boolean
private static boolean
isSubsequentSelectDelayed(AssociationType type, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

FetchOptionsHelperback to summary
private FetchOptionsHelper()

Method Detail

determineFetchStyleByMetadataback to summary
public static FetchStyle determineFetchStyleByMetadata(FetchMode mappingFetchMode, AssociationType type, SessionFactoryImplementor sessionFactory)

Deprecated

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

Parameters
mappingFetchMode:FetchMode

The mapping defined fetch mode

type:AssociationType

The association type

sessionFactory:SessionFactoryImplementor

The session factory

Returns:FetchStyle

the fetch style

determineFetchTimingback to summary
public static FetchTiming determineFetchTiming(FetchStyle style, AssociationType type, SessionFactoryImplementor sessionFactory)

Deprecated

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

determineFetchTimingback to summary
public static FetchTiming determineFetchTiming(FetchStyle style, AssociationType type, boolean lazy, String role, SessionFactoryImplementor sessionFactory)

Deprecated

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

isJoinFetchedback to summary
public static boolean isJoinFetched(FetchOptions fetchOptions)
isSubsequentSelectDelayedback to summary
private static boolean isSubsequentSelectDelayed(AssociationType type, SessionFactoryImplementor sessionFactory)

Deprecated

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