Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
|
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 28th, 2005, 07:17 AM
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transaction Management

Hi,
I use a SQL adpater and my database is in SQL 2000.
I have a stored proc that inserts records in the database. There is a file with multiple records. In the orchestration I pick up each record and then insert it in the database. Thus as many number of records those many times my stored proc is called to insert the record. All this is done through SQL Adapter. Now if an error occurs in a record the message is suspended in the message queue and then the next record is picked up. Thus if out of 10 my 2 records have any problem they will be suspended and the next 8 are inserted in the data base. I want to roll back the other 8 incase an error occurs . Can anyone help me with this? I did try using compensation handler but that did not help
Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Transaction/Reflection ffbalota C# 2 October 6th, 2007 04:54 PM
SQL Transaction k.manisha ASP.NET 1.0 and 1.1 Professional 2 January 24th, 2007 11:59 PM
Help required regarding transaction management sarfraz SQL Server 2000 4 June 6th, 2004 05:40 AM
Transaction Management sonaidg Java Databases 2 August 19th, 2003 04:20 AM
how to use Transaction ? locka ADO.NET 0 August 12th, 2003 08:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.