Connecting to multiple databases is easy. Just add the extra connection to your /app/config/database.php, and have the appropriate var $useDbConfig in your Student model class.
On Dec 3, 4:54 am, Greg Baker <[EMAIL PROTECTED]> wrote: > How would one go about gathering information from an external > database? My application contains all the relevant information > required except for one 'object'....students. > > My student information is stored in an oracle database which I can > read from. So would I be correct to create a new model class for my > students and override all the relevant methods for the class such as > findAll, etc? > > The student objects are linked using HABTM tables to the objects in > the local database using a unique student number. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
