Login | Register
My pages Projects Community openCollabNet

Discussions > dev > oracle pdo adapter name

propel
Discussion topic

Back to topic list

oracle pdo adapter name

Reply

Author ccuenca at helloworldsolutions dot com
Full name ccuenca at helloworldsolutions dot com
Date 2008-04-10 16:10:39 PDT
Message Hi,

the pdo adapter name for oracle should be changed from oracle to oci,
since pdo dsn for oracle starts with oci://

Index: Propel 1.3/runtime/classes/​propel/adapter/DBAda​pter.php
====================​====================​====================​=======
--- Propel 1.3/runtime/classes/​propel/adapter/DBAda​pter.php (revision 1027)
+++ Propel 1.3/runtime/classes/​propel/adapter/DBAda​pter.php (working copy)
@@ -56,7 +56,7 @@
         'mysqli' => 'DBMySQLi',
         'mssql' => 'DBMSSQL',
         'sybase' => 'DBSybase',
- 'oracle' => 'DBOracle',
+ 'oci' => 'DBOracle',
         'pgsql' => 'DBPostgres',
         'sqlite' => 'DBSQLite',
         '' => 'DBNone',

Carlos

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

oracle pdo adapter name ccuenca at helloworldsolutions dot com ccuenca at helloworldsolutions dot com 2008-04-10 16:10:39 PDT
Messages per page: