|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.FetchMode
public final class FetchMode
Represents an association fetching strategy. This is used
together with the Criteria API to specify runtime
fetching strategies.
For HQL queries, use the FETCH keyword instead.
Criteria.setFetchMode(java.lang.String, FetchMode)
,
Serialized FormField Summary | |
---|---|
static FetchMode |
DEFAULT
Default to the setting configured in the mapping file. |
static FetchMode |
EAGER
Deprecated. use FetchMode.JOIN |
static FetchMode |
JOIN
Fetch using an outer join. |
static FetchMode |
LAZY
Deprecated. use FetchMode.SELECT |
static FetchMode |
SELECT
Fetch eagerly, using a separate select. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FetchMode DEFAULT
public static final FetchMode JOIN
public static final FetchMode SELECT
public static final FetchMode LAZY
public static final FetchMode EAGER
Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |