| Author |
Inserting multiple record in DB using for loop
|
eshant sharma
Greenhorn
Joined: Sep 03, 2009
Posts: 1
|
|
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 java.
Appreciate if i can some live example code.
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
"nish nish",
Welcome to the ranch. You may not be aware of the ranch Naming Policy. Please read it carefully and change your name accordingly. Thank you.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Jaydeep Mazumdar
Greenhorn
Joined: Aug 26, 2009
Posts: 23
|
|
|
You can use batch updates to update the data in the list. You will find lots of code samples if you google.
|
 |
 |
|
|
subject: Inserting multiple record in DB using for loop
|
|
|