Re: DataObject tweak ok with DB and MDB2
| From: | Dan Rossi | Date: | Thu, 07 Apr 2005 04:30:13 +0000 |
| Subject: | Re: DataObject tweak ok with DB and MDB2 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18588@lists.php.net to get a copy of this message | ||
On 07/04/2005, at 2:21 PM, Alan Knowles wrote:
Ok both are 2, the constant works !It's probably worth defining DB_DATAOBJECT_FETCHMODE_ASSOC, x (where x is the number that hopefully is the same on both drivers.- are DB_FETCHMODE_ASSOC and MDB2_FETCHMODE_ASSOC really different?the constants are all renamed, if you send a DB_FETCHMODE_ASSOC to a MDB fetchRow it wont recognise it :)
Code from where ?I'd have to look at the code to work that one out.. -
from what I remember, normally it's not set, it's only if you use oracle you normally want to add the portability option.MDB2 requires this if you want to turn off portability, as its on by default, therefore my fields which are ie userID become lowercase userid and break everything, it also has a setting for persistance dont ask why its there, i would prefer to set that in the dsn.