I have to run few SQL queries and put the results into a spreadsheet. Since I am on a Spring/Java environment, I was about to run the queries using JDBC, iterate through the ResultSet, and use Jakarta POI to create a simple XLS.
This looks like a very common requirement, so I was wondering if there is something already available - a package which given some SQL queries and a DataSource, can execute the queries and "export" their ResultSets into a spreadsheet. Does anyone know of such a package?