虽然数据库的完成各不类似,DBI 模块提供了事务自动提交(auutomatic transcation committing)和手工事务处置(powerful manual transaction)的两种不一样处置方式。
基于6个网页-相关网页
一个可保持的游标(或结果),就是说该游标在包含它的事务被提交后,也不会自动地关闭。
A holdable cursor, or result, is one that does not automatically close when the transaction that contains the cursor is committed.
默认的事务行为是自动提交模式。在该模式下,每个语句在发送到目标服务器时进行提交。
The default transactional behavior is auto-commit mode, where each statement is committed as it is sent to the target server.
在没有自动提交的标准JDBC代码中,应用程序使用一个连接来访问和更新数据,然后提交该连接以结束这个事务(并启动另一个事务)。
In standard JDBC code without auto-commit, the application USES a connection to access and update data, then commits the connection to end the transaction (and start another).
应用推荐