Hi Janis,
Thanks for your reply. It's an Oracle database. And there is no READ performed after the INSERTs are executed.
We have analysed the code multiple times. Executed it in foreground with small set of ids, but could not find any issues. May be we are missing something. We need to increase the logging to analyse it further. :-(
Regards,
Anupam