I have analizated the code of dbo_source.php   . I have found during
the generation of SQL query that the code controls if the useDbConfig
of the models are the same.
If I set useDbConfig of the belongTo's Model like the useDbConfig of
the principal model can I have  problem in other operations?
On 26 Mar, 11:27, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> If I use a model inside the same database instead a model in an other
> database all works fine.
> For me the problem is in dbo_source.php   function
> generateAssociationQuery(...) where the query is generated.
>
> On 26 Mar, 10:52, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > I have found this post that I think it's right for my case:
>
> >http://groups.google.com/group/cake-php/browse_thread/thread/b542cf43...
>
> > I have used the solution of Grant but I get the same error ("in the
> > Sql query of find all miss the LEFT JOIN relative to the external
> > model")
> > I use CAKEPHP 1.1.13
>
> > On 25 Mar, 20:09, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
>
> > > On Tue, Mar 25, 2008 at 2:42 PM, [EMAIL PROTECTED]
>
> > > <[EMAIL PROTECTED]> wrote:
>
> > > >  Do you know that I have the models  in different databases.
> > > >  I don't think that it's a post about this situation.
>
> > > #1 - yes, I know you have the models in different databases.  Please
> > > see my earlier statements in this thread
>
> > > #2 - you asked about doing left joins - there have been some posts
> > > lately about that in this mailing list, which is a totally searchable
> > > google group
>
> > > Add #1 + #2 and you might have a solution.
>
> > > --
> > > Chris Hartjes
> > > Internet Loudmouth
> > > Motto for 2008: "Moving from herding elephants to handling snakes..."
> > > @TheKeyBoard:http://www.littlehart.net/atthekeyboard-Nascondi testo tra 
> > > virgolette -
>
> > - Mostra testo tra virgolette -- Nascondi testo tra virgolette -
>
> - Mostra testo tra virgolette -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to