Top Description Fields Constructors Methods
org.hibernate

public final Enum FetchMode

extends Enum<FetchMode>
Class Inheritance
Annotations
@Internal

Represents an association fetching strategy.

API Note

This enumeration was previously used to override the fetching strategy specified by mapping annotations when using the old criteria query API. Now it is only used by SPIs and internal APIs.

Author
Gavin King
See Also
org.hibernate.annotations.FetchMode

Field Summary

Modifier and TypeField and Description
public static final FetchMode
DEFAULT

Use the default fetching strategy specified by the mapping annotations.

public static final FetchMode
JOIN

Fetch in the initial select, using an outer join.

public static final FetchMode
SELECT

Fetch using a separate subsequent select.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static FetchMode
public static FetchMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DEFAULTback to summary
public static final FetchMode DEFAULT

Use the default fetching strategy specified by the mapping annotations.

JOINback to summary
public static final FetchMode JOIN

Fetch in the initial select, using an outer join.

See Also
org.hibernate.annotations.FetchMode#JOIN
SELECTback to summary
public static final FetchMode SELECT

Fetch using a separate subsequent select.

See Also
org.hibernate.annotations.FetchMode#SELECT, org.hibernate.annotations.FetchMode#SUBSELECT

Constructor Detail

FetchModeback to summary
private FetchMode()

Method Detail

valueOfback to summary
public static FetchMode valueOf(String name)
valuesback to summary
public static FetchMode[] values()