[symfony-users] Re: Doctrine innerJoin doubt

2010-04-29 Thread fRAnKEnSTEin
yeap! it worked like a charm...thank you very much! -- 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

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-29 Thread Tom Ptacnik
In the $reservations variable you've got an collection of Reservation objects then in $reservation you've got an Reservation if you do $reservation->getReservationDetails() - this will get you a collection of ReservationDetail objects (because you have 1:N relation) then if you do foreach foreach

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-27 Thread fRAnKEnSTEin
someone with an idea..still having problems with this... -- 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 emai

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-27 Thread fRAnKEnSTEin
hi there, Evert: 1- "Why don't you have an `id` column on reservation in your schema?" as i saw on jobeete example, they do not define any "id" column for any of the DB tables..thats because symfony add it automatically for each db table. 2- "have you tried to define the innerJoin as - >innerJoi

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread ev...@freshheads.com
Why don't you have an `id` column on reservation in your schema? And which relations are defined in your BaseReservation class? Doctrine uses singular names for models, have you tried to define the innerJoin as ->innerJoin('r.ReservationDetail rd'); Because magical methods are singular too. In yo

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
Hi, Yes i have tryed: $reservation->getAdultsReserved() or $reservation->adultsreserved or $reservation->adults_reserved or $reservation->adultsReserved or $reservation->AdultsReserved() and so on..none of them workeddo i have something wrong in my db schema or somthingthis is rare...

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
sorry what i want to say is that none of them worked -- 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

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
Hi, Yes i have tryed: $reservation->getAdultsReserved() or $reservation->adultsreserved or $reservation->adults_reserved or $reservation->adultsReserved or $reservation->AdultsReserved() and so on..any of them workeddo i have somthing wrong in my db schema or somthingthis is