Subject | Re[3]: [firebird-support] Firebird with IBX, performance |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2004-02-05T13:10:09Z |
On 5 Feb 2004 at 11:00, Serg Vostrikov wrote:
show something in grid. I just wanted to discourage its using when
possible, because I saw code like this:
IBDataset.Open;
While not IBDataSet.eof do
IBDataSet.Delete;
IBDataset.Close;
I also saw modal dialogs (with TDBEdits and TDBCheckBoxes) when
IBDataSet.Edit was in OnShow and IBDataSet.Post in OnClose.
Besides, TIBDataSet in IBX doesn't allow use different transaction
for INSERT/UPDATE/DELETE (in contrast to FIB+ ;-)) that could make
situation a bit better by using read only RC transaction for SELECT.
SY, Dimitry Sibiryakov.
>DS> how you use it. I avoid using TIBTable, TIBQuery and TIBDataset.Ok, you've caught me. I lay. :) I use TIBDataSet when I have to
>I totally agree with you about TIBTable and TIBQuery, but why not
>to use TIBDataset? You do not use visual data controls at all?
show something in grid. I just wanted to discourage its using when
possible, because I saw code like this:
IBDataset.Open;
While not IBDataSet.eof do
IBDataSet.Delete;
IBDataset.Close;
I also saw modal dialogs (with TDBEdits and TDBCheckBoxes) when
IBDataSet.Edit was in OnShow and IBDataSet.Post in OnClose.
Besides, TIBDataSet in IBX doesn't allow use different transaction
for INSERT/UPDATE/DELETE (in contrast to FIB+ ;-)) that could make
situation a bit better by using read only RC transaction for SELECT.
SY, Dimitry Sibiryakov.