Re: DB_DataObject->generateDefinitions() - Filename

From: Date: Tue, 03 Feb 2004 06:14:45 +0000
Subject: Re: DB_DataObject->generateDefinitions() - Filename
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25434@lists.php.net to get a copy of this message
Markus Tacker wrote:
Hoi List, why does DB_DataObject->generateDefinitions() assume that there must be a database name at all? There are DSNs without a database name e.g. oci8 Line 201: $file = "{$base}/{$this->_database}.ini"; I'd suggest to use a defineable filename for the database scheme. This would keep things easier when changing databases. I will be looking at this in a few days.. - Although I thought I had done it already..
I've run into a similar problem writing an in installer for my little framework.. - it allows you to choose a database name to import the structure.. - so since the schema is currently mapped to database name the schema file will have the wrong name.. Regards Alan
Currently I am adapting an application initially developed for mysql to be run at mysql and oci8. Are there any updates to DB_DataObjects not in CVS concerning Oracle?
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.dev (#25434) next »