update some-more quarrel atomically
i need govern name following transform rows resultset
an atomic way.
the formula i am controlling looks (simplified):
stmt = con.createstatement(resultset.type_scroll_sensitive, resultset.concur_updatable);
rs = stmt.executequery("select ...");
while (rs.next()) {
(conditions_to_update) {
rs.updatestring(...);
rs.updaterow();
}
}
- can i pledge updates going executed atomically ? not, i assure ?
- what happens any slight altered database quarrel updating around
updaterow()
? there any proceed close rowsresultset
?
Comments
Post a Comment