I have to design a spring batch job which reads from database (suppose JdbcCursorItemReader) and write the data in to XML (complex xml as shown below). I have following quer