#5268: Associations between models for tables in different schemas fails for
PostGRES tables
-------------------------+--------------------------------------------------
    Reporter:  jazztini  |         Owner:         
        Type:  Bug       |        Status:  closed 
    Priority:  Medium    |     Milestone:  1.2.x.x
   Component:  General   |       Version:  RC2    
    Severity:  Normal    |    Resolution:  wontfix
    Keywords:            |   Php_version:  n/a    
Cake_version:            |  
-------------------------+--------------------------------------------------
Comment (by ADLN):

 @antonio__marco:
 You can execute SET search_path TO schema1, schema2 right before the
 find() call and all will be OK.

 Also, if I'm not mistaken, you can do HABTM joins without setting
 search_path if the middle table (addresses_plots in your case) belongs to
 the same schema as the main table (plots in your case)

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5268#comment:4>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to