CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2000
    Location
    Batam, Indonesia
    Posts
    11

    How to rollback transaction using COM?

    I have n-tier application, which similar to Duwamish v3.5. It's already implemented one month ago, now i found a problem a transaction can not rollback using GETOBJECTCONTEXT.SETABORT.
    What must i set to my DAL (Data Access Layer), and BLL (Business Logic Layer)?

    Thanks in advance....


  2. #2
    Join Date
    Oct 2001
    Location
    Bangalore.INDIA
    Posts
    25

    Re: How to rollback transaction using COM?

    Study the usage of Transaction setting from MSDN.
    Implementation depends on application.
    and use Dim Objcon as objectcontext
    set objcon=getobjectcontext(() in all methods and use setabort in a single method from which all
    other methods are called if all are true
    setabort from orginal place.this is simple



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured