aspose file tools*
The moose likes Java in General and the fly likes regarding excel sheet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "regarding excel sheet" Watch "regarding excel sheet" New topic
Author

regarding excel sheet

Saral Saxena
Ranch Hand

Joined: Apr 22, 2011
Posts: 202

I have the requirement into which I have to take data from the excel sheet and then pump that data into the database , for ex there is a excel sheet containing two columns... and then I have to put the data of the two columns into the database into the particular table ...will Java help me and sply which libraries and how to do this ....please guide me ..!!Thanks
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

Apache POI is a library which will allow you to extract data from Excel documents.

As for updating a database, you would use JDBC. You will need to have a JDBC driver for your particular database in your classpath.
Praveen Kumar M K
Ranch Hand

Joined: Jul 03, 2011
Posts: 256
There is a SQL query for accomplishing the same. Syntax of the query might differ for different database engines.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14430
    
  23

People regularly ask questions about how to read or write Excel files, so we have a page with some useful information about this: Accessing File Formats.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding excel sheet