[Dbi-interbase-devel] Multiple transaction control
Status: Beta
Brought to you by:
edpratomo
From: Michael S. <mi...@ch...> - 2000-08-30 21:07:48
|
Hello dbi-interbase-devel, I was playing today with Delphi && FreeIBComponents, so there are separate object - transaction (TFIBTransaction). It's seen thus that there may be multiple transactions per connection in Interbase. So I thought, there had to be the single default transaction (DBI notion) and smth like # start new transaction $tr = $dbh->begin( \%params ); # prepare in the named transaction's context $sth1 = $tr->prepare(...); # prepare in the default transaction's context $sth2 = $dbh->prepare(...); ... $tr->commit; $dbh->rollback; So for the rest of the methods. Best regards, Michael mailto:mi...@ch... |