I have five models and their relationship at the database level is
> Member
> Trainee(member_id references Member id,order_id references Order id)
>ContctPerson(person_id reference Member id)
>Address
>Order(contactperson_id references ContactPerson id ,address_id references 
>Address id )

and i have set associations in models also .and i am writting many
trainees objects ,one contact person and address object in to session
and when i call $this->Order->saveAll($this->session->read()).it is
not saving all the objects .

so what  are the steps to save the objects.is this possible to save
these objects at one shot by calling saveAll in orders controller.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to