I can't speak to the robustness of it, but I know that in 6.1 one of the
fixes was to make CFTRANSACTION work when wrapped around multiple method
calls of (possibly disparate) CFC instances.

http://www.macromedia.com/support/coldfusion/releasenotes/mx/mx61_fixed_bugs
.html#coldfusioncomponents

(see fix 49705)

So, in theory, it should work.



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Stacy Young
> Sent: Sunday, March 07, 2004 8:29 AM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] Will CFTRANSACTION work in this situation ?
>
>
>
> Hi All,
>
> I've got an array of objects (which in turn each have an array of child
> objects - orders & order items). I need to loop over this array and
> update a status property on each order. No problem there. What I'm
> unsure of, and not able to test at the moment, is whether I can
> encapsulate this entire loop process in a cftransaction tag and have it
> roll back every database operation in every object if the process
> experiences an exception somewhere down the line. i.e. I want the
> process to be "all or nothing".
>
> In summary I guess I'm asking whether cftransaction can span across
> multiple objects. Maybe this is an obvious question but I'm unsure of
> it's robustness.
>
> Many thanks!
>
> Stace
>
>
> >

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to