wood burning stoves 2.0*
The moose likes I/O and Streams and the fly likes lading data from file into database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "lading data from file into database" Watch "lading data from file into database" New topic
Author

lading data from file into database

Muhammad Qureshi
Greenhorn

Joined: Mar 05, 2002
Posts: 9
Hi all,
I have to load data from xls file to database, I have saved file as csv and had used stringtokenizer to parse it, now how can i load this data in to database.
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
You have to create/open a connection to your database using the suitable JDBC driver, and insert the data into the tables using SQL.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: lading data from file into database