java.lang.Object | |
↳ | org.hibernate.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.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEFAULT | Default to the setting configured in the mapping file. | ||||||||||
EAGER | This field is deprecated. use FetchMode.JOIN | ||||||||||
JOIN | Fetch using an outer join. | ||||||||||
LAZY | This field is deprecated. use FetchMode.SELECT | ||||||||||
SELECT | Fetch eagerly, using a separate select. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This field is deprecated.
use FetchMode.JOIN
Fetch eagerly, using an outer join. Equivalent to outer-join="true".
This field is deprecated.
use FetchMode.SELECT
Fetch lazily. Equivalent to outer-join="false".
Fetch eagerly, using a separate select. Equivalent to fetch="select".