need to develop a spring batch processing multiple flat files and save it in database multiple flat files are section wise divided as show in the below
flat file1
// this is the format of content in the file with different sections
[ADDRESS]
1234 2345 N U 2 temp1 tmp1
[name]
1234 Raghu Prasad
>
> another flat file Flat2
[State]
1234 india hyderabad
where I have to retrieve "Raghu " , "Prasad" from NAME ,temp,tmp1 from ADDRESS and "hyderabad" from state where 1234 is key
need to save the data of 1234 in database
Aucun commentaire:
Enregistrer un commentaire