Home » Developer & Programmer » Precompilers, OCI & OCCI » getBlob - failed
getBlob - failed [message #192545] Tue, 12 September 2006 17:42
Messages: 2
Registered: September 2006
Location: Cuba
Junior Member
I have an application that in runtime return this:

terminate called after throwing an instance of 'oracle::occi::SQLException'
what(): ORA-32129: cannot get information about this column

the code of the exception is when the ResultSet object tries to obtain Blob object:

ResultSet* result = oracle->getResult();
while (result->status() == result->DATA_AVAILABLE)
Blob blob = result->getBlob(1);
cout << blob.length() << endl;

In the table, exist a BLOB. Why the exception.

thanks in advance.

Compiler --> gcc-4.0.1
Oracle version --> 10gR2
OS --> Mandrivalinux 2006
Previous Topic: multithreaded call with Pro*C fails
Next Topic: OCCI Data Types
Goto Forum:

Current Time: Sun Jan 22 10:26:24 CST 2017

Total time taken to generate the page: 0.09176 seconds