Home » Developer & Programmer » Precompilers, OCI & OCCI » OCI-22629: Message 22629 not found; product=RDBMS; facility=OCI
OCI-22629: Message 22629 not found; product=RDBMS; facility=OCI [message #117947] Mon, 02 May 2005 01:21 Go to next message
thils
Messages: 3
Registered: April 2005
Junior Member
Hi,
I'm getting the following error message when I run the application in solarix.
" OCI-22629: Message 22629 not found; product=RDBMS; facility=OCI "

Anyone know about this error message

Regards,
Thilaga
Re: OCI-22629: Message 22629 not found; product=RDBMS; facility=OCI [message #118012 is a reply to message #117947] Mon, 02 May 2005 10:50 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Hi,

This may help:

$ oerr ora 22629
22629, 00000, "OCIAnyData is null"
//  *Cause:  Attempting an operation that is not valid on null OCIAnyData
// *Action:  Make sure OCIAnyData is not null.


BTW: if you set your environment correctly (most likely ORACLE_HOME), you should see the correct error.

Best regards.

Frank
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 Go to previous message
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.
Previous Topic: pro*C error with Oracle 9i
Next Topic: OCIStmtExecute and ORA-06502 error
Goto Forum:
  


Current Time: Fri Mar 29 02:50:08 CDT 2024