Re: DB_DataObject and multiple databases

From: Date: Thu, 28 Apr 2005 08:30:55 +0000
Subject: Re: DB_DataObject and multiple databases
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18985@lists.php.net to get a copy of this message
you need to generate the classes using different ini files (and target different folders) with createTables.php, the use require, rather than factory to load the secondary DB. DBDO handles this alot better ;) Regards Alan On Thu, 2005-04-28 at 12:40 +1000, pear@electroteque.org wrote: > I am having some issues linking to multiple databases in particular, tables > that have the same names, when the DO's are generated it will generate only > one of them of course. > > I just experienced a problem when I loaded a DO from the second DB then > made a factory called to another DO of the first DB however it was trying > to find that table in the second database any ideas there ?

« previous php.pear.general (#18985) next »