DisableCommit vs SetAbort
"James Brophy (CharcolOnline)" <[email protected]> Wed, 17 Jul 2002 14:07:47 +0100
| Newsgroups | gmane.comp.windows.devel.vbcom |
|---|---|
| Message-ID | <0C2B60E78DA5D311B20800508B61B6C0013D7F03@JC_LINT> |
Can anyone tell me what the practical difference between the Root object in a transaction calling DisableCommit and SetAbort on failure / an error raised by one or more Secondary objects? Basically, design-wise, I would like to have all Secondary objects call DisableCommit on failure / error; and all Root objects call SetAbort on handling such a failure / error. Can anyone supply a reason not to? Many thanks, James Brophy You can read messages from the VBCOM archive, unsubscribe from VBCOM, or subscribe to other DevelopMentor lists at http://discuss.develop.com.