Cannot update records in JDBC?????????# Database - 数据库
l*e
1 楼
rs.updateInt(2, 1010);
rs.updateRow();
System.out.println(rs.getInt(new_att_index)); // print out the new value 1010
After rs is closed. The record in the databased is not changed! I'm using
ACCESS.
rs.updateRow();
System.out.println(rs.getInt(new_att_index)); // print out the new value 1010
After rs is closed. The record in the databased is not changed! I'm using
ACCESS.