中国开发网: 论坛: 程序员情感CBD: 贴子 787111
pcplayer: 我测试的不是嵌套事务。你看看事务级别:
xilDIRTYREAD Current transaction sees all changes made by other transactions, even if they have not yet been committed. This option is not available for the Oracle driver.
xilREADCOMMITTED Current transaction sees only changes that have been committed, but can receive an inconsistent view of the data if additional changes are committed before the transaction ends.
xilREPEATABLEREAD Current transaction is guaranteed a consistent view of the data, which includes only changes committed by other transactions at the start of the transaction.

xilCUSTOM Current transaction uses a database-specific isolation level. When the eConnTxnIsoLevel option is xilCUSTOM, the transaction descriptor gives the actual isolation level. This is not currently supported by any drivers, but allows future drivers the ability to expand the number of isolation levels.

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录