When using the surrogate key generator and inserting batches, if a query fails in the batch, then errors are silently ignored.