Forums Register Login

Loading data from ArrayList to d/b Table

+Pie Number of slices to send: Send
Hi,
I have this scenario,I have a bunch of methods to get data for different columns of a JSP. What I do is I run these methods and make one ArrayLists for each column of JSP and populate the data in the JSP by iterating over the ArrayLists.
Now these methods take a while to load data for the JSP. To fasten the process we are planning to load data from the ArrayLists to a d/b table and retrieve the data from that table for the JSP.

My question what is the most effecient way to load data from arraylist to a table? Would it be multiple INSERT queies kind of thing?
+Pie Number of slices to send: Send
"makmak makmak" please check your private messages.
+Pie Number of slices to send: Send
"Pete"

Your name still does not conform to the JavaRanch Naming Policy. Please review the policy and update it appropriately. This is your second warning.

Scott
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 929 times.
Similar Threads
ArrayList does it maintain order
Display data using Structs Tag
Sorting a table of ArrayLists
want to make a table~~~
Copying objects to arraylists
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:19:39.