Once you have successfully downloaded rs2xml.jar , you need to add it to your project's classpath.
// Write to CSV Writer writer = new FileWriter("export.csv"); DbUtils.resultSetToCsv(rs, writer); writer.close();
rs.close(); stmt.close(); conn.close(); }
is a lightweight Java library, often identified by the package name net.proteanit.sql . It is most famous for its DbUtils class, which contains the resultSetToTableModel() method.