PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » MDB2_Driver_oci8 » Bug #8116

oci8(oci8)://system:xxx@XE/ does not work

Details

Submitted2006-07-04 16:28 UTC
Fromfabrizio dot balliano at crealabs dot it
Assignedlsmith
StatusClosed
PackageMDB2_Driver_oci8
PHP Version5.1.4
OSLinux
Roadmaps(Not assigned)

Comments

[2006-07-04 16:28 UTC] fabrizio dot balliano at crealabs dot it

Description:
------------
if you define the dsn with this sintax:

oci8(oci8)://system:xxx@XE/

I get:

Notice: Undefined property: MDB2_Driver_oci8::$datatype in /var/www/p4a/p4a/libraries/pear/MDB2/Driver/Reverse/oci8.php on line 423

Fatal error: Call to a member function mapNativeDatatype() on a non-object in /var/www/p4a/p4a/libraries/pear/MDB2/Driver/Reverse/oci8.php on line 423

[2006-07-04 16:34 UTC] fabrizio dot balliano at crealabs dot it

hum, maybe it's not related to DSN but colums definitions

my table is:

CREATE TABLE "SYSTEM"."BRANDS"
( "BRAND_ID" NUMBER(*,0) NOT NULL ENABLE,
"DESCRIPTION" VARCHAR2(4000 BYTE) NOT NULL ENABLE,
"VISIBLE" NUMBER(1,0) NOT NULL ENABLE,
CONSTRAINT "BRANDS_PK" PRIMARY KEY ("BRAND_ID") ENABLE
) ;

it seems that it hangs on:
Array ( [table] => [name] => brand_id [type] => NUMBER [length] => 22 [flags] => )