Home » Developer & Programmer » Precompilers, OCI & OCCI » getBlob - failed
getBlob - failed [message #192545] Tue, 12 September 2006 17:42
rubenqba
Messages: 2
Registered: September 2006
Location: Cuba
Junior Member
Hi:
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: Wed Dec 07 14:17:43 CST 2016

Total time taken to generate the page: 0.09244 seconds