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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -