Subject | TIBOTransaction |
---|---|
Author | Ross Garbig |
Post date | 2004-03-01T15:36:34Z |
D5, IBO 4.3.A, IB 6.0.2
How to setup/use TIBOTransaction in my app for hard commits.
1. Drop TIBOTransaction (xAction) on my data module, set IB_Connection to the TIBDatabase component, set all TIBQuery's IB_Transaction property to xAction, then as required do: if (xAction.Started) then xAction.Commit; ??
2. If multiple queries/updates make up one logical transaction is one TIBOTransaction enough?
3. What settings to use:
- AutoCommit = True (same as TIBDatabase)?
- Isolation = tiCommitted (same as TIBDatabase)?
Thanks
[Non-text portions of this message have been removed]
How to setup/use TIBOTransaction in my app for hard commits.
1. Drop TIBOTransaction (xAction) on my data module, set IB_Connection to the TIBDatabase component, set all TIBQuery's IB_Transaction property to xAction, then as required do: if (xAction.Started) then xAction.Commit; ??
2. If multiple queries/updates make up one logical transaction is one TIBOTransaction enough?
3. What settings to use:
- AutoCommit = True (same as TIBDatabase)?
- Isolation = tiCommitted (same as TIBDatabase)?
Thanks
[Non-text portions of this message have been removed]