This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes import data from excel files to database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "import data from excel files to database" Watch "import data from excel files to database" New topic
Author

import data from excel files to database

efi oikonom
Greenhorn

Joined: Apr 03, 2013
Posts: 1
Hi to all,
i am newbie in java. I have created a program to read data from excel files with APACHE POI and show them in my console. I am using Eclipse as editor. Now I an trying to import these data in database so I can store them. The purpose for that is i would like to be able to access them from different locations.
Can someone help me of how I would do this?

Here is my code for import data from excel to database:



And here is my code to read excel file using APACHE POI:


Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37958
    
  22
Welcome to the Ranch
I have added code tags, which you should always use. You can see how much better it looks, at least where you actually indented the code
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: import data from excel files to database
 
Similar Threads
trying to edit the data in an excel file
java program to convert to xml issues
Problem in compare excel
How do i format a string to date
How to get the date value in excel sheet as it is....