Re: Spring JDBC template batchUpdate: multiple update statements
Posted by: Hugo Ribeiro
Date: July 24, 2024 03:02AM

Hi Filipe,

those are values, I am passing batch params for the 4 update rows I want to execute.

e.g. for table abc if I pass that list of 4 row values to update, the query being executed is the following:

update abc set col1='val1' where id='id1';update abc set col1='val2' where id='id2';update abc set col1='val3' where id='id3';update abc set col1='val4' where id='id4';

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.