I've searched the Symfony/Doctrine documentation, as well as this forum and Google, but was unable to find an answer.
The Symfony manual says: "The ORM is smart enough to detect relationships between objects, so saving the $article object also saves the related $comment object. " How deep does this transitivity go? eg. Reservation hasMany Room hasMany Guest Is there a way to save a Reservation, and it's several Rooms, each with several Guests, all in a single $reservation->save();? I am working with another framework where the transitivity is limited to two levels. So it would save a reservation with it's rooms, but you'd need to manually loop through and save all guests yourself. Would love to hear that Symfony/Doctrine supports this in a single method call.... does it? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en
