File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Inserting multiple record in DB using for loop
Joined: Sep 03, 2009
Sep 03, 2009 22:38:17
I have all values stored in my arraylist.Now i wanted to know that how to insert multiple records in database using for loop in
Appreciate if i can some live example code.
Joined: Nov 24, 2005
Sep 03, 2009 22:42:04
Welcome to the ranch. You may not be aware of the ranch
carefully and change your name accordingly. Thank you.
All roads lead to JavaRanch
Joined: Aug 26, 2009
Sep 03, 2009 23:15:09
You can use
to update the data in the list. You will find lots of code samples if you google.
I agree. Here's the link:
subject: Inserting multiple record in DB using for loop
Statement and PreparedStatement question?
Multiple Socket connection
Skipping lines in JTextArea
Changing the TextInput Colour while displying Results from database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014