Hi All,
I am learning spring batch and have a problem,
I am trying to do the same as the following with spring batch.
How can I get it done?
NOTE:It has two cursors in one step.
ThanksCode:con = dataSource.getConnection(); stmt = con.createStatement(); res1 = stmt.executeQuery(sql1); while (res1.next()) { …… } /* write data to file1 */ res2 = stmt.executeQuery(sql2); while (res2.next()) { …… } /* write data to file2 */


Reply With Quote