Data_Object Error
| From: | Jacques Nunes | Date: | Mon, 04 Oct 2004 16:57:08 +0000 |
| Subject: | Data_Object Error | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14747@lists.php.net to get a copy of this message | ||
People, I need a help with de auto generate data object class via ODBC connection. The ODBC
connection is ok with DB class, but when i go to generate the dataobject class, i get the error:
// file generator.php
require_once 'lib/core/config.php';
$_SERVER['argv'][1] = JEN_FRAMEWORK_ROOT.'modules/cache/dao/class/config.ini';
require_once 'DB/DataObject/createTables.php';
The config.ini:
[DB_DataObject]
database = odbc://@CacheDataObject // a dbc ok conection
schema_location = C:/desenvolvimento/framework/bin/modules/cache/dao/class
class_location = C:/desenvolvimento/framework/bin/modules/cache/dao/class
require_prefix =
class_prefix = DataObject_
debug = 0
debug_ignore_updates = false
dont_die = false
The error:
#!/usr/bin/php -q db_dataobject_generator: 0: CREATING FOR 0
[db_error: message="DB Error: not supported" code=-6 mode=return level=notice
prefix="" info=""]
The database is : Chaché 5.0 (www.intersystems.com)
Ps: with the native mysql (mysql database) DSN, the generator is ok!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com