由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Cannot update records in JDBC?????????
相关主题
Help for VB 6 and MS Access DB求救,咋样架起来自己的database?
web based database?搞database的有必要知道java吗? java被oracle买了,2个是不是很紧密?
Asking help for Access!:(关于Database版本和license的问题
Help needed: MS Access 2000In Memory Database哪个比较好
Access database 求助SQL Server Express 里面有 Database/Server Audit Specification 吗?
[转载] Java/JSP/Servlets... and Database(Oracle/DB2)Help on JDBC:ODBC SOS
Is there any small free database support Java ?[转载] jdbc/odbc MS Access file creation question
question on JOIN on OracleSQL Server 和Access到底有多大区别
相关话题的讨论汇总
话题: jdbc话题: cannot话题: records话题: update话题: 1010
进入Database版参与讨论
1 (共1页)
l******e
发帖数: 27
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.
b*e
发帖数: 3845
2
why not just use some simple query like 'update ... where ...' instead.

【在 l******e 的大作中提到】
: 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.

s**o
发帖数: 584
3
did you commit the change?

【在 l******e 的大作中提到】
: 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.

1 (共1页)
进入Database版参与讨论
相关主题
SQL Server 和Access到底有多大区别Access database 求助
[转载] jdbc with access 2000 problem[转载] Java/JSP/Servlets... and Database(Oracle/DB2)
JDBC问题一问Is there any small free database support Java ?
数据库问题一问question on JOIN on Oracle
Help for VB 6 and MS Access DB求救,咋样架起来自己的database?
web based database?搞database的有必要知道java吗? java被oracle买了,2个是不是很紧密?
Asking help for Access!:(关于Database版本和license的问题
Help needed: MS Access 2000In Memory Database哪个比较好
相关话题的讨论汇总
话题: jdbc话题: cannot话题: records话题: update话题: 1010