Using RogueWave RWDBBlob to fetch data from Oracle8 database

From: Atul Kench <akench_at_tanning.com>
Date: Wed, 27 Jan 1999 10:26:31 -0700
Message-ID: <78nic3$g9s$1_at_news1.rmi.net>



Hi,
I have a table in Oracle8 which has a column of type BLOB. When I try to fetch the data using Roguewave's Selector, Reader and RWDBBlob I get the following error -

-

ORA-03115: unsupported network datatype or representation

--

Here is the source code used -
RWCString keyCol, blobCol ;
cout << "Enter the key:" ;
cin >> keyCol ;
RWDBTable tbl = rdb::table("TEST_PDF") ; RWDBSelector sel = rdb::selector() ;
sel << tbl ;
sel.where( tbl["KEY"] == RWDBBoundExpr(&keyCol)) ; RWDBReader rdr = sel.reader(rdb::readConn()) ; RWDBBlob data ;
if ( rdr())
{

    rdr["DATA"] >> data ;
    cout << "Matching records found" << endl ; }



Running in debugger found that the error was occuring when the RWDBReader was instantiated.

Your response will help a lot!
-A

akench_at_tanning.com Received on Wed Jan 27 1999 - 18:26:31 CET

Original text of this message