I was able to read from multiple tables and write them into a single xml using composite itemReader of spring batch. When I am doing this, the batch reads one row from each table at a time and writes it to xml, then proceeds to read the next row from each table.
But, my requirement is to read the entire table, write it to xml and then proceed to next table, read it completely and write to the same xml.
I have to read four tables in this manner and write all of them into a single xml.
Is there any way to do this in springbatch? Any help is appreciated.