API Note
This enumeration was previously used to override the fetching strategy specified by mapping annotations when using the old criteria query API. Now it is only used by SPIs and internal APIs.
org.hibernate.annotations.FetchMode
| Modifier and Type | Field and Description |
|---|---|
| public static final FetchMode | DEFAULT
Use the default fetching strategy specified by the mapping annotations. |
| public static final FetchMode | JOIN
Fetch in the initial select, using an outer join. |
| public static final FetchMode | SELECT
Fetch using a separate subsequent select. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FetchMode | |
| public static FetchMode[] |
| DEFAULT | back to summary |
|---|---|
| public static final FetchMode DEFAULT Use the default fetching strategy specified by the mapping annotations. | |
| JOIN | back to summary |
|---|---|
| public static final FetchMode JOIN Fetch in the initial select, using an outer join. | |
| SELECT | back to summary |
|---|---|
| public static final FetchMode SELECT Fetch using a separate subsequent select. | |
| FetchMode | back to summary |
|---|---|
| private FetchMode() | |
| valueOf | back to summary |
|---|---|
| public static FetchMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FetchMode[] values() | |