Package org.hibernate.cfg
Interface FetchSettings
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface FetchSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Specifies the default value for batch fetching.static final String
Specifies the maximum depth of nested outer join fetching.static final String
When enabled, Hibernate will use subselect fetching, when possible, to fetch any collection.
-
Field Details
-
MAX_FETCH_DEPTH
Specifies the maximum depth of nested outer join fetching.- See Also:
- Default Value:
- 0 (none)
-
DEFAULT_BATCH_FETCH_SIZE
Specifies the default value for batch fetching. By default, Hibernate only uses batch fetching for entities and collections explicitly annotated@BatchSize
. -
USE_SUBSELECT_FETCH
When enabled, Hibernate will use subselect fetching, when possible, to fetch any collection. Subselect fetching involves fetching the collection based on the restriction used to load it owner(s).By default, Hibernate only uses subselect fetching for collections explicitly annotated @Fetch(SUBSELECT).
-