title: Resultset to Excel file
body: <p>There is <code>CSVWriter</code> class for writing resultset to CSV file.</p>
  
  <p>Is there any similar class for writing resultset output to <code>EXCEL</code> file.??</p>
  
  <p>Edit: My resultset data will be dynamic so I just want to dump the resultset data into excel file</p>
  
  <p>Edit2: Ref <a href="http://www.codereye.com/2009/09/converting-resultset-to-excel-table-in.html" rel="noreferrer">http://www.codereye.com/2009/09/converting-resultset-to-excel-table-in.html</a>.
  It exports the data to excel sheet but I need to pas the datatype of each column .I want to remove that dependency so that whatver is in the resultset ,blindly it should export to excelsheet.</p>