AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
The jdbc:initialize-database is used to create the metadata tables automatically, Spring Batch need it to store the jobs detail.This job-report.xml file define a job to read a report.csv file, match it to report plain pojo and write the data into MySQL database.
![]() ![]() Spring Batch Read From File And Write To Database From Form Code Spring BatchCould you please also develop a code Spring Batch Example CSV to MongoDB. Mkyong says in the article: Read the comment, it should be self-explanatory. I receive a flat file from a vendor which will have a flag indicating whether I need to insertupdate that record in DB. You will get a A job instance already exists and is complete for parameters message. Are you able to resolved this Your earliest input is much appreciated. But on the next run, I dont want to read(baically track) the previously tracked exception.
0 Comments
Read More
Leave a Reply. |