【发布时间】:2020-01-03 21:06:42
【问题描述】:
根据文档ResultSet.updateRow()Updates the underlying database with the new contents of the current row of this ResultSet object.
这是否会执行提交,即结束当前事务?
【问题讨论】:
-
该方法应该像更新查询一样更新数据库,即如果数据库和连接未设置为自动提交,则事务应该仍然存在。
标签: java jdbc transactions commit