Subject | Re: IB_Transaction |
---|---|
Author | dale tabbert |
Post date | 2001-01-15T04:32:37Z |
--- In IBObjects@egroups.com, "Jason Wharton" <jwharton@i...> wrote:
I don't specify one, it uses the default. Does that mean that all
SQL operations are commited as soon as they are executed? (with
default?)
Would it be better to explicitly start a transaction and commit it.
I am a little confused if your statement "If you are using an
explicit TIB_Transaction object" means that for all of the IB objects
I have specified a TIB_Transaction or if it means that for each time
I execute an SQL statement that I explicitly start a transaction and
then either commit it or roll it back.
Thanks
Dale
> As for the transaction behavior with ASTA. If you are using anexplicit
> TIB_Transaction object you need to ensure that you are committingit so that
> changes are saved.So I don't need a TIB_Transaction for the components that I use? If
I don't specify one, it uses the default. Does that mean that all
SQL operations are commited as soon as they are executed? (with
default?)
Would it be better to explicitly start a transaction and commit it.
I am a little confused if your statement "If you are using an
explicit TIB_Transaction object" means that for all of the IB objects
I have specified a TIB_Transaction or if it means that for each time
I execute an SQL statement that I explicitly start a transaction and
then either commit it or roll it back.
Thanks
Dale