Fix row count order

This commit is contained in:
Derry Hamilton 2019-05-13 14:09:46 +01:00
parent f945a48c28
commit 6ba081b625

View file

@ -149,7 +149,11 @@ public class Job extends Thread {
if(rowNum % nRowsToLog == 0) { if(rowNum % nRowsToLog == 0) {
rowsInserted += arraySum(insertStatement.executeBatch()); rowsInserted += arraySum(insertStatement.executeBatch());
dConn.commit(); dConn.commit();
log.info(String.format("%s - Inserted %s of %s notified rows into %s so far",jobName,rowNum,rowsInserted,name)); log.info(String.format("%s - Inserted %s of %s notified rows into %s so far",
jobName,
rowsInserted,
rowNum,
name));
} }
} }
} catch(Exception e) { } catch(Exception e) {