192193194195196197198199200201202
// update a row assertTrue(webRs.absolute(4)); webRs.updateInt(1, 44); webRs.updateString(2, "update44"); webRs.updateRow(); // update a row but not call updateRow() assertTrue(webRs.absolute(2)); webRs.updateInt(1, 22);
247248249250251252253254255256257
assertProperties(doc, webRs); assertMetadata(doc, webRs); assertData(doc, webRs); webRs.updateRow(); strWriter = new StringWriter(); webRs.writeXml(strWriter); assertTrue(webRs.isAfterLast());
354355356357358359360361362363364
rs = st.executeQuery("SELECT * FROM USER_INFO"); webRs.populate(rs); webRs.absolute(3); webRs.updateString(2, "update3"); webRs.updateRow(); webRs.deleteRow(); strWriter = new StringWriter(); webRs.writeXml(strWriter);