BTS中的SQLAdapter [英] SQLAdapter in BTS

查看:147
本文介绍了BTS中的SQLAdapter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在项目中,我要求接收添加到表中的新记录并将该数据发送到另一个系统。

我使用SQL Adapter作为相同。使用SQL Adapter,我设法检索新记录,但在Repoll期间,Biztalk再次检索相同的记录。

如何在重新生成时限制相同的记录检索?


.Nilesh

Hi,
 
In the project, I have a requirement to receive a new record added in to the table and send that data to the another system.

I used SQL Adapter for the same. Using SQL Adapter, I managed to retrieve the new record, But during Repoll, Biztalk retrieves the same record again.

How do I restrict the same record retrieval in repolling?


.Nilesh

推荐答案

一个选项是在表中添加一个新的布尔列'Processed'。将新记录添加到表中时,将其设置为false。当BizTalk使用SQL适配器检索它时,将'Processed'标志更新为true。这样做可以确保一次处理的记录不会再次处理。

An option would be to add a new boolean column 'Processed' to your table. When a new record is added to the table, set it as false. and when BizTalk retrieves it using SQL adapter, update the 'Processed' flag to true. Doing so you can ensure that records processed once will not be processed again..


这篇关于BTS中的SQLAdapter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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