Top Description Fields Constructors Methods
org.hibernate.annotations

public final Enum FetchMode

extends Enum<FetchMode>
Class Inheritance

Fetch options on associations
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
public static final FetchMode
JOIN

use an outer join to load the related entities, collections or joins

public static final FetchMode
SELECT

use a select for each individual entity, collection, or join load

public static final FetchMode
SUBSELECT

use a subselect query to load the additional collections

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

JOINback to summary
public static final FetchMode JOIN

use an outer join to load the related entities, collections or joins

SELECTback to summary
public static final FetchMode SELECT

use a select for each individual entity, collection, or join load

SUBSELECTback to summary
public static final FetchMode SUBSELECT

use a subselect query to load the additional collections

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()