|
|
Re: OCI-22629: Message 22629 not found; product=RDBMS; facility=OCI [message #118114 is a reply to message #118012] |
Tue, 03 May 2005 02:50 |
thils
Messages: 3 Registered: April 2005
|
Junior Member |
|
|
Hi,
Thanks for your reply. I couldn't solve this problem.Actually I'm trying to access collection of objects.
I created my object as follows.
TYPE TREEVALOBJ AS OBJECT(
nodetype VARCHAR2(3),
nodevalue VARCHAR2(13),
newposition NUMBER(5));
TYPE TREESTRUCT AS TABLE OF TREEVALOBJ
CREATE OR REPLACE procedure sp_getsimple(dial in varchar2,
tree out treestruct)as
My code is as follows:
vector<TREEVALOBJ*> vec;
string sqlQuery = "BEGIN sp_testsimple(:1,:2); END;";
stmt->setSQL( sqlQuery );
stmt->setString( 1, "8888888888");
stmt->registerOutParam(2, OCCIVECTOR , 0,"TREESTRUCT");
Statement::Status status = stmt->execute();
getVector(stmt, 2, vec);
My application is throwing this error at "getVector()".
Is there any other way to access the objects.
Thanks,
Thilaga.
|
|
|