Announcement Announcement Module
Collapse
No announcement yet.
DataSynchronization & Locking with multiple thread batch update Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DataSynchronization & Locking with multiple thread batch update

    Hi,

    I am using JdbcBatchItemWriter to do a batch update with multiple threads , where each threads (10 in all) will be assigned the respective number of records to be inserted. My question here is since these threads runs parallely and will update the records in a batch in the same DB table, whether there wont be a problem related to locking as well as data synchronization?How this is handled in sprintbatch whether internally that will be taken care using JdbcBatchItemWriter ? Or Is there any mechanism or API we need to use to ensure there wont be a problem. Please clarify.

    Thanks.
Working...
X