Things to note about this method are the use of the default connection and setting the autocommit mode to false.
对于这个方法,需要注意默认连接的使用,还要将自动提交模式设为false。
First, you should turn off autocommit mode so the results of each SQL statement aren't automatically committed to the database.
首先,应当关闭自动提交模式,这样,每条sql语句的结果不会被自动提交给数据库。
Thus, to perform positioned update or delete operations, you need to disable the AUTOCOMMIT mode.
因而,要执行定点的更新或删除操作,您必须禁用autocommit模式。
应用推荐