public enum FetchStrategyType extends Enum<FetchStrategyType>
| Enum Constant and Description |
|---|
AUTO
maxDepth is used to decise on the type
|
JOIN
query infers a join fetch for the association
|
SELECT
query infers a separate select query for the association
|
| Modifier and Type | Method and Description |
|---|---|
static FetchStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FetchStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchStrategyType SELECT
public static final FetchStrategyType JOIN
public static final FetchStrategyType AUTO
public static FetchStrategyType[] values()
for (FetchStrategyType c : FetchStrategyType.values()) System.out.println(c);
public static FetchStrategyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2013 Batoo. All Rights Reserved.