Subject | Re: [firebird-support] fbclient.dll - synchronous or asynchronous? |
---|---|
Author | Jonathan Neve |
Post date | 2004-07-10T07:59:25Z |
Ann W. Harrison wrote:
transaction using two-phase commit, right? Are you simply saying that
this is not possible across multiple threads? What's to stop me doing
something like this (with IBX) :
IBDataBase1.Connected:=True;
IBDataBase2.Connected:=True;
IBTransaction1.AddDataBase(IBDataBase1);
IBTransaction1.AddDataBase(IBDataBase2);
IBTransaction1.StartTransaction;
where IBDatabase1 and IBDatabase2 are two different connections to the same database?
Is this not possible across several threads?
Thanks!
Jonathan Neve.
>and for Jonathan Neve.,I don't quite understand. It is possible to do a cross-database
>
>One connection can have multiple transaction, but one transaction can not
>have multiple connections. Definitely a 1 to n relationship.
>
>
transaction using two-phase commit, right? Are you simply saying that
this is not possible across multiple threads? What's to stop me doing
something like this (with IBX) :
IBDataBase1.Connected:=True;
IBDataBase2.Connected:=True;
IBTransaction1.AddDataBase(IBDataBase1);
IBTransaction1.AddDataBase(IBDataBase2);
IBTransaction1.StartTransaction;
where IBDatabase1 and IBDatabase2 are two different connections to the same database?
Is this not possible across several threads?
Thanks!
Jonathan Neve.