Doing 3 queries in three methods.
Posted on 2006-04-25
I have 3 queries
1. is to get values of some items
2. See if one of the value in the table is set to "true"
3. Update the flag to "false"
Query 1 can not go through until query 2 is successful and the value in table is set to "true"
Now using Resultset and Connection how do I do this in three methods or even in the same method. I dont want to duplicate the
Connection conn==........ code.
Thank you in advance for all the help