Top Fields
org.hibernate.cfg

public Interface BatchSettings

Known Direct Subinterfaces
org.hibernate.cfg.AvailableSettings
Imports
java.sql.PreparedStatement, org.hibernate.engine.jdbc.batch.spi.BatchBuilder

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
BATCH_STRATEGY

Deprecated Use BUILDER instead
public static final String
BATCH_VERSIONED_DATA

When enabled, specifies that versioned data should be included in batching.

public static final String
BUILDER

Names the BatchBuilder implementation to use.

public static final String
ORDER_INSERTS

Enable ordering of insert statements by primary key value, for the purpose of more efficient JDBC batching.

public static final String
ORDER_UPDATES

Enable ordering of update statements by primary key value, for the purpose of more efficient JDBC batching

public static final String
STATEMENT_BATCH_SIZE

Specifies the maximum number of statements to batch together.

Field Detail

BATCH_STRATEGYback to summary
public static final String BATCH_STRATEGY

Deprecated

Use BUILDER instead

Annotations
@Deprecated
BATCH_VERSIONED_DATAback to summary
public static final String BATCH_VERSIONED_DATA

When enabled, specifies that versioned data should be included in batching.

See Also
org.hibernate.boot.SessionFactoryBuilder#applyJdbcBatchingForVersionedEntities(boolean)
BUILDERback to summary
public static final String BUILDER

Names the BatchBuilder implementation to use.

ORDER_INSERTSback to summary
public static final String ORDER_INSERTS

Enable ordering of insert statements by primary key value, for the purpose of more efficient JDBC batching.

See Also
org.hibernate.boot.SessionFactoryBuilder#applyOrderingOfInserts
ORDER_UPDATESback to summary
public static final String ORDER_UPDATES

Enable ordering of update statements by primary key value, for the purpose of more efficient JDBC batching

See Also
org.hibernate.boot.SessionFactoryBuilder#applyOrderingOfUpdates
STATEMENT_BATCH_SIZEback to summary
public static final String STATEMENT_BATCH_SIZE

Specifies the maximum number of statements to batch together.

A nonzero value enables batching

See Also
java.sql.PreparedStatement#executeBatch, java.sql.PreparedStatement#addBatch, org.hibernate.boot.SessionFactoryBuilder#applyJdbcBatchSize