登录
首页 » Delphi-C++Builder » ADOM+设计篇意在测试com+的事务处理能否正确执行。 将组件安装后,在组件服务中该com+组件的属性设置中将“激活”页的“启用对象池”选项选中,执行客户...

ADOM+设计篇意在测试com+的事务处理能否正确执行。 将组件安装后,在组件服务中该com+组件的属性设置中将“激活”页的“启用对象池”选项选中,执行客户...

于 2022-08-16 发布 文件大小:3.84 MB
0 77
下载积分: 2 下载次数: 1

代码说明:

ADOM+设计篇意在测试com+的事务处理能否正确执行。 将组件安装后,在组件服务中该com+组件的属性设置中将“激活”页的“启用对象池”选项选中,执行客户端程序调用上面这个方法,发现com+的事务机制不能正确执行,数据会写入数据库中。如果不选中“启用对象池”,则一切正常,数据并不会写到数据库中。 说明:Translation DataModule的设置,事务属性:requires a transaction,允许object pooling,pooled设为true,无论将AutoComplete设为True或False都会出现上述情况。 该问题最先由ytwxw (wxw) 提出,至今尚未有结论,我也发现类似问题。我俩探讨后无法解决,特在此再开一贴。请各路com+高手帮忙解答! -ADOM design sections was aimed at testing com business can correct implementation. Components will be installed, Component services in the com component attributes will be set up "activated" page "open object pool" option selected. implementation of client programs call the above, the Panel found com mechanism for proper implementation, data will be included in the database. If not selected "targets of the opening pool", then everything normal, and no data writes database. Note : Translation DataModule settings, the panel attributes : requires a transaction, allowing object pooling. pooled as a true, Regardle

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103920会员总数
  • 65今日下载