OCCI - problem to read user defined function return values [message #286025] |
Thu, 06 December 2007 05:37 |
sdeigm
Messages: 1 Registered: December 2007
|
Junior Member |
|
|
I am trying to call a PL/SQL function which returns a user defined type. The returned type is defined within a package
TYPE result IS RECORD (
code NUMBER,
msg VARCHAR2(256)
);
How do I have to register the output parameter at the OCCI Statement instance I am using to call the function? I already tried various versions using the functions registerOutParam() and/or setDataBuffer(), but none of them succeeded.
Can anybody point me to some sample code, how user defined types are read using OCCI?
Thanks in advance
Stefan
|
|
|