public enum FetchMode extends java.lang.Enum<FetchMode>
Enum Constant and Description |
---|
DEFAULT
Default to the setting configured in the mapping file.
|
JOIN
Fetch using an outer join.
|
SELECT
Fetch eagerly, using a separate select.
|
Modifier and Type | Field and Description |
---|---|
static FetchMode |
EAGER
Deprecated.
use FetchMode.JOIN
|
static FetchMode |
LAZY
Deprecated.
use FetchMode.SELECT
|
Modifier and Type | Method and Description |
---|---|
static FetchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchMode DEFAULT
public static final FetchMode JOIN
public static final FetchMode SELECT
@Deprecated public static final FetchMode LAZY
@Deprecated public static final FetchMode EAGER
public static FetchMode[] values()
for (FetchMode c : FetchMode.values()) System.out.println(c);
public static FetchMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.