The BatchMechanism connection property determines how the driver manages batch inserts. When BatchMechanism is set to nativeBatch, the driver uses the PostgreSQL native batch protocol to insert all batched parameters. When BatchMechanism is set to copy, the driver leverages the PostgresSQL COPY command for substantial performance gains. See "BatchMechanism" for details.