Github user vadimar commented on a diff in the pull request:
https://github.com/apache/nifi/pull/3128#discussion_r231088684
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java
---
@@ -669,11 +685,20 @@ private void executeDML(ProcessContext context,
ProcessSession session, FlowFile
}
}
ps.addBatch();
+ if (++currentBatchSize == batchSize) {
--- End diff --
I'm not sure this would be benefitial. PutDatabaseRecord works without
autoCommit. It's all or nothing.
---