Package org.hibernate.cfg
Interface FetchSettings
-
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface FetchSettings
-
-
Field Summary
Fields Modifier and Type Field Description static String
BATCH_FETCH_STYLE
Deprecated.An appropriate batch-fetch style is selected automaticallystatic String
DEFAULT_BATCH_FETCH_SIZE
Specifies the default value for batch fetching.static String
MAX_FETCH_DEPTH
Specifies the maximum depth of nested outer join fetching.static String
USE_SUBSELECT_FETCH
When enabled, Hibernate will use subselect fetching, when possible, to fetch any collection.
-
-
-
Field Detail
-
MAX_FETCH_DEPTH
static final String MAX_FETCH_DEPTH
Specifies the maximum depth of nested outer join fetching.- See Also:
SessionFactoryBuilder.applyMaximumFetchDepth(int)
, Constant Field Values- Default Value:
- 0 (none)
-
DEFAULT_BATCH_FETCH_SIZE
static final String 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
static final String 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).
-
BATCH_FETCH_STYLE
@Deprecated(since="6.0") static final String BATCH_FETCH_STYLE
Deprecated.An appropriate batch-fetch style is selected automaticallySpecifies theBatchFetchStyle
to use, either the name of a {code BatchFetchStyle} instance, or an instance ofBatchFetchStyle
.- See Also:
- Constant Field Values
-
-