Subject | [IBO] Re: Memory use and TIB_DSQL |
---|---|
Author | Michael Vilhelmsen |
Post date | 2004-03-08T15:00:18Z |
> Actually, Michael, Svein's question is very astute. If you have anhave
> IB_Transaction (or an IBOTransaction, for that matter) then you
> (potentially) two transactions. One is that one, the other is theyou
> <Default> transaction to which your statement will be assigned if
> forget to select the one you added.the
>
> Dropping a transaction object onto your datamodule doesn't make it
> default transaction. You can, however, make it so, by picking thatIB_Connection or
> transaction as the DefaultTransaction property of your
> IBODatabase.transaction
>
> I consider it is good practice to *always* put down your own
> object(s) and never to make any assumptions about the <Default>transaction
> By that, I am not saying there is anything *wrong* about <Default>if you
> transaction, just that it is sometimes easy to overlook the obvious
> don't pay explicit attention to it.I have just double checked my appl.
>
All TIBOQuerys, TIB_Cursor and TIB_DSQL uses the transactions they
are suposed to use.
So thats not the problem.
Michael