Package org.hibernate.cfg
Interface BatchSettings
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface BatchSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringWhen enabled, specifies that versioned data should be included in batching.static final StringNames theBatchBuilderimplementation to use.static final StringEnable ordering of insert statements by primary key value, for the purpose of more efficient JDBC batching.static final StringEnable ordering of update statements by primary key value, for the purpose of more efficient JDBC batchingstatic final StringSpecifies the maximum number of statements to batch together.
-
Field Details
-
BUILDER
Names theBatchBuilderimplementation to use.- See Also:
- Default Value:
- Standard builder based on
STATEMENT_BATCH_SIZE
-
STATEMENT_BATCH_SIZE
Specifies the maximum number of statements to batch together. A nonzero value enables batching- See Also:
- Default Value:
- 0
-
ORDER_UPDATES
Enable ordering of update statements by primary key value, for the purpose of more efficient JDBC batching- See Also:
- Default Value:
false
-
ORDER_INSERTS
Enable ordering of insert statements by primary key value, for the purpose of more efficient JDBC batching.- See Also:
- Default Value:
false
-
BATCH_VERSIONED_DATA
When enabled, specifies that versioned data should be included in batching.- See Also:
- Default Value:
- Generally
true, though can vary based on Dialect
-
BATCH_STRATEGY
Deprecated.UseBUILDERinstead- See Also:
-
BUILDERinstead