This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Yes. However you could just fix your programming logic - presubabmy valuesToUpdate is an array longer than 7 values. You need to make sure you have the same number of values to bind to parameters as you have parameters defined in your PreparedStatement.
Thanks but I don't know how I can use the column name instead. I have checked my code fragment and followed it through. valuesToUpdate has 7 values before going into the loop [ December 05, 2006: Message edited by: Patrick Mugabe ]