I am writing a spring batch job wherein ItemReader I am reading from the database and apply some rules in Processor and want to update in ItemWriter.
I could not able to figure it out how to perform update operation in ItemWriter class.
I tried to set the datasource with update statement and I dont know how to pass the primary key here to update the records