How to persist data in multiple databases as a single transaction in PHP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pauix
    New Member
    • Feb 2010
    • 1

    How to persist data in multiple databases as a single transaction in PHP?

    Hi everyone!

    I have been doing PHP programming for almost a year now and i recently came across this problem of persisting data into two different databases. I need the write operations to be treated as a single atomic transaction. Is there a way to do this in PHP? Like some kind of implementation of 2PC or XA protocols?


    Thanks,
    Pauix
    Last edited by pauix; Feb 13 '10, 03:28 AM. Reason: typo in title :)
Working...