Hey,

The case is:
I've got 2 models(Customer and Server), one is using $useDbConfig =
'crm' the other is using $useDbConfig = 'monitoring'.
Each DB configuration specifies connection to it's own database (crm
and monitoring).

I've got HABTM between these to models, and I need HABTM, but when
querying i get "Table doesn't exist" since the join table only lives
in one of the databases. All other associations seems to work across
databases.

My question is:

How can I in the "$hasAndBelongsToMany" definition specify that the
join table is living in a different database?

regards,
Simon


--~--~---------~--~----~------------~-------~--~----~
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