Subject | managing transactions with TIBOdatabase |
---|---|
Author | René J. Belland |
Post date | 2003-12-30T20:04:12Z |
Hi again,
What is the proper way to manage transactions using the TDataset
components? If I use a TIBOTransaction component (or TIB_transaction), for
instance, what do I call to start the transaction :
IBOTransaction1.StartTransaction ?
OR
IBODatabase1.StartTransaction ?
Both cases work, but which is the preferred? (assume that the IB_Transaction
property of the TIBOQuery is set to the transaction component, and not to
<default> )
Thanks
- René
What is the proper way to manage transactions using the TDataset
components? If I use a TIBOTransaction component (or TIB_transaction), for
instance, what do I call to start the transaction :
IBOTransaction1.StartTransaction ?
OR
IBODatabase1.StartTransaction ?
Both cases work, but which is the preferred? (assume that the IB_Transaction
property of the TIBOQuery is set to the transaction component, and not to
<default> )
Thanks
- René