Package org.hibernate.cfg
Interface FetchSettings
-
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.
-
-
-
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
.- See Also:
BatchSize
,org.hibernate.Session#setFetchBatchSize(int)
,SessionFactoryBuilder.applyDefaultBatchFetchSize(int)
, Constant Field Values
-
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
-
-