What happens if you try the clone? Honestly, Transfer was built with this sort of referential failure was an non-expected error, and can (apparently) cause issues.
I think the easiest option - do the delete by SQL, catch the error. If it doesn't error, discard the object from the cache. Mark On Tue, Aug 17, 2010 at 4:41 AM, Brian G <brian-goo...@vfive.com> wrote: > > On Aug 12, 2:35 pm, Mark Mandel <mark.man...@gmail.com> wrote: > > I guess the next question is - why bother with a hard delete at all then? > > A hard delete is desired, there are certain reporting requirements > that prevent us from deleting records. > > Will clone() before delete() solve this? Or should Transfer be > deleting the object before removing the parent from the object? > > > Brian > > > -- > Before posting questions to the group please read: > > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > Try out the new Transfer ORM Custom Google Search: > http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > To post to this group, send email to transfer-dev@googlegroups.com > To unsubscribe from this group, send email to > transfer-dev+unsubscr...@googlegroups.com<transfer-dev%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/transfer-dev?hl=en > -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia http://www.cfobjective.com.au Hands-on ColdFusion ORM Training www.ColdFusionOrmTraining.com -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en