Database transactions.....

J

Jimmy Crider

I am using ADO.NET in my ASP.Net application(VB language).
Is it possible to implement transaction based SQL statements between
two different databases. One is SQL Server and the other one is Oracle.
Please advice.
Thanks
 
C

Chad Z. Hower aka Kudzu

Jimmy Crider said:
I am using ADO.NET in my ASP.Net application(VB language).
Is it possible to implement transaction based SQL statements between
two different databases. One is SQL Server and the other one is Oracle.

I think you need MS Transaction server to do that.
 
R

Rick Strahl [MVP]

Hi Jimmy,

As Chad pointed out you'll need EnterpriseServices for that.

For components you can subclass from ServicedComponent and then use
distributed transaction management (SetAbort/SetComplete).

Actually ASP.Net provides integration with distributed Transaction
management in Page scope via the <%@ TRANSACTION> tag which allows
specifying that the page runs inside a distributed transaction. You can use
ContextUtil.SetAbort/SetComplete to commit or rollback.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top