File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes using Apache POI to save Excel data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "using Apache POI to save Excel data" Watch "using Apache POI to save Excel data" New topic

using Apache POI to save Excel data

Nash kumar

Joined: Sep 23, 2012
Posts: 20
I am trying to read an excel and write the columns to Database (server 2008). I am using Apache POi and able to read the excel sheet. Could any one help me in reading and writing the columns to database from excel? thank you.

I have 9 columns in excel and want to save these 9 columns to database table that I created.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42276
Since you're able to read the file, is this question purely about storing data to a DB? If so, are you familiar with the JDBC API?

Ping & DNS - my free Android networking tools app
It is sorta covered in the JavaRanch Style Guide.
subject: using Apache POI to save Excel data