Class BatchDmlExecutablePreparedStatement

java.lang.Object
liquibase.statement.ExecutablePreparedStatementBase
liquibase.statement.BatchDmlExecutablePreparedStatement
All Implemented Interfaces:
ExecutablePreparedStatement, SqlStatement

public class BatchDmlExecutablePreparedStatement extends ExecutablePreparedStatementBase
Performance-optimised version of ExecutablePreparedStatementBase. JDBC batching collects several executions of DML statements and waits until a certain number of commands has been collected. Then, it sends all of them to the RDBMS in a single call. Statement.executeBatch() saves many round-trips between client and database, often speeding up bulk inserts/updates dramatically if the JDBC driver supports it.
See Also: