PHP 5.4 + Oracle 11.2g : return collection in a cursor -


assume, in oracle 11.2g

the following type:

create type a_type table of varchar2(30); 

the following record type:

type a_record record(id              number(18)                        ,a_collection    a_type                        ); 

the following cursor type:

type a_cursor ref cursor return a_record; 

the following stored proc definition

function a_function return a_cursor; 

when executing function php 5.4 retrieve cursor, get:

ora-00932: inconsistent datatypes: expected char got adt 

while know collections can returned individually using:

oci_new_collection oci_bind_by_name 

...it appears problem caused inclusion of a_collection in cursor.

my question is: know whether way exists return a_collection in php 5.4 cursor oracle 11.2g?


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -