Home » Developer & Programmer » Precompilers, OCI & OCCI » OCCI - problem to read user defined function return values (OCCI client 10.1.0)
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
Previous Topic: Changing the value of SQLCA run time
Next Topic: Can update generate a no_data_found [MERGED]
Goto Forum:
  


Current Time: Sat Dec 10 07:17:25 CST 2016

Total time taken to generate the page: 0.24319 seconds