Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CSV FILE TO DATABASE

807598Jun 17 2006 — edited Jun 27 2006
hi,
m neame coloumns awsto java. i have a requirement.i hav a csv file .i have database table which has same coloumns as the csv field names.
i have to upload the contents of the csv file in to the table.
at present i am being able to read each line in da csv file using the readLine method and storing into array.
i have to now insert this row into the database using prepared statement.
but how do i set the values into the preared statement.
i am retrieving each row from the csv.

can anyone help me
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2006
Added on Jun 17 2006
3 comments
149 views