Is this specific to CF's implementation or common in other languages as
well?

-Stace

-----Original Message-----
From: Matt Liotta [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 07, 2004 11:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Will CFTRANSACTION work in this situation ?

Transactions can not span across multiple objects.

-Matt


On Mar 7, 2004, at 11:29 AM, Stacy Young wrote:

>
> 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
>
>
>
> <table width=800 cellpadding=4 cellspacing=10 border=0><tr 
> bgcolor=BDBDBD><td valign=top width=400><font face=verdana size=2 
> color=FFFFFF><b>AVIS IMPORTANT</b></font></td><td valign=top 
> width=400><font face=verdana size=2 
> color=FFFFFF><b>WARNING</b></font></td></tr><tr><td valign=top 
> width=400><p align=justify><font face=verdana size=1 color=808080> Les

> informations contenues dans le present document et ses pieces jointes 
> sont strictement confidentielles et reservees a l'usage de la (des) 
> personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, 
> soyez avise que toute divulgation, distribution, copie, ou autre 
> utilisation de ces informations est strictement prohibee. Si vous avez

> recu ce document par erreur, veuillez s'il vous plait communiquer 
> immediatement avec l'expediteur et detruire ce document sans en faire 
> de copie sous quelque forme.</td><td valign=top width=400><p 
> align=justify><font face=verdana size=1 color=808080> The information 
> contained in this document and attachments is confidential and 
> intended only for the person(s) named above. If you are not the 
> intended recipient you are hereby notified that any disclosure, 
> copying, distribution, or any other use of the information is strictly

> prohibited. If you have received this document by mistake, please 
> notify the sender immediately and destroy this document and 
> attachments without making any copy of any kind.</td></tr></table>
>
> ----------------------------------------------------------
> 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]
>

----------------------------------------------------------
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]



<table width=800 cellpadding=4 cellspacing=10 border=0><tr bgcolor=BDBDBD><td 
valign=top width=400><font face=verdana size=2 color=FFFFFF><b>AVIS 
IMPORTANT</b></font></td><td valign=top width=400><font face=verdana size=2 
color=FFFFFF><b>WARNING</b></font></td></tr><tr><td valign=top width=400><p 
align=justify><font face=verdana size=1 color=808080> Les informations contenues dans 
le present document et ses pieces jointes sont strictement confidentielles et 
reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas 
le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre 
utilisation de ces informations est strictement prohibee. Si vous avez recu ce 
document par erreur, veuillez s'il vous plait communiquer immediatement avec 
l'expediteur et detruire ce document sans en faire de copie sous quelque 
forme.</td><td valign=top width=400><p align=justify><font face=verdana size=1 
color=808080> The information contained in this document and attachments is 
confidential and intended only for the person(s) named above. If you are not the 
intended recipient you are hereby notified that any disclosure, copying, distribution, 
or any other use of the information is strictly prohibited. If you have received this 
document by mistake, please notify the sender immediately and destroy this document 
and attachments without making any copy of any kind.</td></tr></table>

----------------------------------------------------------
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