Once all the updates are performed you can invoke the commit method to commit the transaction, or the rollback method to roll back the transaction. Listing 5 illustrates this technique.
执行了所有更新之后,您可以调用commit方法来提交事务,或者调用rollback方法来回滚事务。
In this technique, you would set the autoCommit property on the connection object to false and manually commit or roll back the connection. Listing 2 illustrates this technique.
在此技巧中,您将Connection对象上的autocommit属性设置为false,并手动提交或回滚连接。
In this technique, you would set the autoCommit property on the connection object to false and manually commit or roll back the connection. Listing 2 illustrates this technique.
在此技巧中,您将Connection对象上的autocommit属性设置为false,并手动提交或回滚连接。
应用推荐