Class BatchingConnection

  • All Implemented Interfaces:
    ReactiveConnection

    public class BatchingConnection
    extends Object
    implements ReactiveConnection
    A ReactiveConnection that automatically performs batching of insert, update, and delete statements, relieving the client persister code of the responsibility to manage batching. Actual SQL statements are delegated to a given ReactiveConnection which only supports explicit batching using update(String, List).

    Note that in Hibernate core, the responsibilities of this class are handled by JdbcCoordinator and the Batch interface. However, the model used there is not easily adaptable to the reactive paradigm.