Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

read data from a file and insert into the database

  Asked By: Alex    Date: Feb 07    Category: Java    Views: 4430
  

can anyone plz help me out.i want to write a program
which will read data from a file and insert into the
database

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Fatih Farooq     Answered On: Feb 07

it is very easy if you know java io package, jdbc and string handling. you can
read data  from file  using inputstream and outputstream. then insert  into
database using standard sql queries using jdbc package.

 
Answer #2    Answered By: Isaac Evans     Answered On: Feb 07

If you are not familiar with the ".sql" package from Java. The below
web link ought to help  you out tremendously. It gives very short,
but specific examples using every package in Java.

http://www.javaalmanac.com/egs/?

 
Didn't find what you were looking for? Find more on read data from a file and insert into the database Or get search suggestion and latest updates.




Tagged: