|
[Exercise | API Docs | Short Course| Exercises] Help is available for each task.
Task 1In doUpdate(), retrieve the processing ResourceBundle using the input argument sargRBName; enumerate the ResourceBundle keys and get a count in the int iCount.
Task 2In doUpdate(), code a for loop using int i to count the number of passes and contain the current key value; On each pass, use i to create a key String and access the data for that key; Execute the retrieved SQL with executeUpdate() and get the total rows processed in int iProcessed.
Task 3In doUpdate(), insert code to report rows processed when loop is complete.
System.out.println( iProcessed +
" rows processed." );
Copyright 1996-2000 jGuru.com. All Rights Reserved. | |||||||||
|
| ||||||||||||