Subject | Re: [IBO] Big Batch... |
---|---|
Author | Admin |
Post date | 2001-03-22T10:15:40Z |
Svein -
These are the only properties that I have set for the transaction &
dsql components that I create at runtime:
trans := TIB_Transaction.Create(Form1);
trans.AutoCommit := false;
trans.Isolation := tiConcurrency;
db := TIB_Connection.Create(form1);
trans.IB_Connection := db;
dsql := TIB_DSQL.Create(Form1);
dsql.IB_Connection := db;
dsql.IB_Transaction := trans;
dsql.SQL.Text :=
'INSERT INTO SYMBOLS (SYMBOL) VALUES (:SYMBOL)';
So I don't need to explicitly call starttransaction for this? What
about commit? Isn't the best approach to explicitly specify the
behavior?
Thanks.
DK
[Non-text portions of this message have been removed]
These are the only properties that I have set for the transaction &
dsql components that I create at runtime:
trans := TIB_Transaction.Create(Form1);
trans.AutoCommit := false;
trans.Isolation := tiConcurrency;
db := TIB_Connection.Create(form1);
trans.IB_Connection := db;
dsql := TIB_DSQL.Create(Form1);
dsql.IB_Connection := db;
dsql.IB_Transaction := trans;
dsql.SQL.Text :=
'INSERT INTO SYMBOLS (SYMBOL) VALUES (:SYMBOL)';
So I don't need to explicitly call starttransaction for this? What
about commit? Isn't the best approach to explicitly specify the
behavior?
Thanks.
DK
[Non-text portions of this message have been removed]