(ldb) Re-add accidentally removed stmt.addBatch that breaks

This commit is contained in:
Viktor Lofgren 2023-08-31 12:06:30 +02:00
parent 763ed260c3
commit 03d999444d

View File

@ -62,6 +62,7 @@ public class LinkdbWriter {
stmt.setInt(10, document.pubYear()); stmt.setInt(10, document.pubYear());
} }
stmt.addBatch();
if (++i > 1000) { if (++i > 1000) {
stmt.executeBatch(); stmt.executeBatch();