Vignesh Jayaprakash, September 22, 2016 - 7:57 am UTC
Thanks for the answer.
But here what I am doing is, truncating the table first, after that this table will be populated with the data (by the batch job) and then the read happens (for the inserted data ),
which means Truncation and Read are -not- happening in parallel.
September 22, 2016 - 7:05 pm UTC
That your program has a reference to:
"java.util.concurrent.ThreadPoolExecutor.runWorker"
suggests to me that while you think things might not be occurring in parallel, they must be in some way.