With cake ORM you can refer different databases by DB configs but not
by table names as cake always properly escape it for sure. Why don't
you like $useDbConfig way?

On May 20, 6:25 pm, reuvers <reuv...@gmail.com> wrote:
> How would one go about gathering information from an other oracle
> database?  My application contains all the relevant information
> required except for a few tables i need to read from from another
> oracle database
> The user i'm using has read rights on that database.
>
> I know it's possible to do this through adding a db configuration and
> using this in the model with
> var $useDbConfig = 'alternate';
>
> But i want to do this with something like
> var $useTable = 'otherDB.tabel';
>
> but is says Missing Database Table.
>
> does anyone know if this is possible
>
> thx in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to