|
I do the exact same thing. If a CFC it's told to start a transaction,
any save calls that CFC makes to other CFC's tell them to not start a
transaction thus preserving the 1 big transaction chain. Since all my
DAO CFC's have the exact same interface it makes it very easy to
manage. Aaron Rouse wrote: Lately, what I do is I have something like InsertMyRecord() that has two arguments one being a structure of data to insert and the other a flag for if it is going to need to be in a transaction. Then within it I call a private method that actually does the inserting and depending on that transaction flag the call to my private inserting is either wrapped in a transaction or not. -- Jason Daiger URL: www.jdaiger.com EML: [EMAIL PROTECTED] ---------------------------------------------------------- |
- [CFCDev] CFCs DB Transactions Michael T. Tangorre
- Re: [CFCDev] CFCs DB Transactions Aaron Rouse
- Re: [CFCDev] CFCs DB Transactions Jason Daiger
- Re: [CFCDev] CFCs DB Transactions Cliff Meyers
- RE: [CFCDev] CFCs DB Transactions Ung, Seng
- RE: [CFCDev] CFCs DB Transactions Cody Caughlan
- RE: [CFCDev] CFCs DB Transactions Ung, Seng
- Re: [CFCDev] CFCs DB Transactions Aaron Rouse
- RE: [CFCDev] CFCs DB Transactions Cody Caughlan
- Re: [CFCDev] CFCs DB Transaction... Aaron Rouse
