Top Description Methods
org.hibernate.engine.jdbc.batch.spi

public Interface BatchBuilder

extends Service
Known Direct Implementers
org.hibernate.engine.jdbc.batch.internal.BatchBuilderImpl
Annotations
@Incubating
Imports
java.util.function.Supplier, org.hibernate.Incubating, org.hibernate.engine.jdbc.mutation.group.PreparedStatementGroup, org.hibernate.engine.jdbc.spi.JdbcCoordinator, org.hibernate.service.Service

A builder for Batch instances.

A custom BatchBuilder may be selected using the configuration property hibernate.jdbc.batch.builder.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Batch
buildBatch(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator)

Build a batch.

Method Detail

buildBatchback to summary
public Batch buildBatch(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator)

Build a batch.