设计模式中不带msdtc的Transaction的实现 [英] The implementation of Transaction with out msdtc in the design pattern

查看:30
本文介绍了设计模式中不带msdtc的Transaction的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

事务已实现如下所示.执行时表示没有开始事务并且整个包 exe 已回滚.

The transaction has implemented as shows below.When executed it says there is no begin transaction and the whole package exe has been roll backed.

如何在不改变结构的情况下完成这项工作

How to get this work with out changing the structure

执行后

推荐答案

要使此事务设置与 Microsoft DBMS 配合使用 - 您必须在连接管理器属性中指定 RetainSameConnection=true.
有关此方法的更多详细信息以及屏幕截图.

For this transaction setup to work with Microsoft DBMS - you have to specify RetainSameConnection=true in Connection Manager properties.
More details on this approach with screenshots.

这篇关于设计模式中不带msdtc的Transaction的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆