This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello everyone I have an arraylist with 40 elemets inside it. I want to be able to get the first 10 elements of the arraylist and put them into a sql statement (I can do this ok) but the problem is when i want to get the next 10 elements (from 10 to 20) they will not execute to the database. is this possible with just one prepared statement? thanks ben
Ben, there is way to much code and processing to hammer through. Maybe you can explain your specific problem a little more, accompanied by a code snippet(10-15 lines of code) that illustrates/identifies your specific problem. You might want to group your code up into related parts and create methods or objects out of the related code. Or you can do neither and keep waiting for a reply!
Joined: Nov 08, 2002
This is where my problem is. I want to be able to get the first 10 values from the arraylist and add them to the first column name then i want to get the next 10 values (10 to 20) and put them into a diffrent column name. but only using one preparedStatement. thanks ben
[ January 18, 2003: Message edited by: ben riches ]