Hi group, I have a complicated controller function that saves a couple of models with a hasMany/belongsTo relationship. Since the models are dependent, I have to save the parent before I can save the child.
What happens if my database server crashes in the middle of these operations? My assumption is that I would end up with a childless parent, which may cause problems when the operation was retried. How are database commits managed so that the parent save is rolled back if the child save fails? If Cake handles this automagically, is there a way to manually control it in non-standard situations? Many thanks, Matt. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
