Subject Re: [IBO] Instructions sequence (2nd post)
Author Jason Wharton
StartTransaction is for handling of explicit transaction context, it has no
direct control over the logical transaction.

Refer to the help file where it explains the difference between the
physical, logical and explicit transaction characteristics.

You can prepare a statement before or after a call to StartTransaction and
it shouldn't make any difference.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: <fabiobot@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, February 03, 2003 6:35 AM
Subject: Re: [IBO] Instructions sequence (2nd post)


> > Because *anything* you can do with a Firebird DB (accessing it
> through
> > the server, I mean :) must happen inside a transaction. That's the
> way
> > FB works.
>
> Of course, but this transaction is the physical transaction that
> exists and is active. The prepare method has opened this
> transaction. (checked by if ib_transaction.started=true before and
> after prepare)
>
> The StartTransaction opens the logical transaction after the
> physical transaction has started by the prepare method.
>
> Regards,
>
> Fabio.