Actually, i want to get the total number of records in the input file. Listener apporach would work, i think.
I have 4 records in the input file, with no skippable items. However, i get output of 5 on using "stepExecution.getItemCount()". Why is that?
Also, doc for getItemCount() is "Returns the current number of tasks for this execution". What do we mean by tasks here? Is it the total number of processed items or total number records going to the database?



Reply With Quote