Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java to excel format

 
Soumya Ghosh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing problem regarding the following-------

I want to take some values from Oracle database using thin driver.
The items are stored in ResultSet and populated in String.

Then I want to convert the resultset or the items collected, in Microsoft Excel format.
That means I want to generate report using Microsoft excel using the items from JDBC.How can I do that? Can any one please send me a sample code?
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this link to create an Excel Sheet from your ResultSet Object..
Create excel from JDBC resultset
hope it helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic