Login or sign up Lost password?
Login or sign up
Even after I say commit(), database is not getting updated. Connection connect = Connection Instance()Connection(); Statement st = connect.create Statement(); st.execute("Select * from ..."); Result Set rs = Result Set(); Result Set Meta Data md = Meta Data() ; rs.absolute(1); rs.update Object("Step Name","ABCD" ); connect.commit(); //connect.close(); Connection connect = Connection Instance()Connection(); Statement st = connect.create Statement( Result Set. CONCUR_UPDATABLE); st.execute("Select * from ..."); Result Set rs = Result Set(); String queuename = "apples"; String updatedname = "bananas"; while(rs.next()) connect.commit(); rs.close(); connect.close(); } Updates the designated column with an Object value.