dbTalk Databases Forums  

OCCI - getString() fails in subsequent calls

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss OCCI - getString() fails in subsequent calls in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jakob kollmann
 
Posts: n/a

Default OCCI - getString() fails in subsequent calls - 02-23-2004 , 02:25 PM






Hello all!

I am using OCCI to fetch data from a Oracle 9i database
with the following code:

while ( pocciRSet->next () )
{
vector<fmDBString> strvec;
for ( int j=1; j<=nColSize; j++ )
{
strvec.push_back ( pocciRSet->getString (j) );
}
pvvData->push_back ( strvec );
}

which is working well for text-only data. If there are
columns with numerical values, only the first row is
fetched normal, the subsequent rows just get '-~' for
each number.

Did anyone of you encounter this particular issue before?
How can I solve it?

Thanks in advance, jakob

--
jakob kollmann www.denimbox.com
denim solutions edv-dienstleistungen und vertrieb ges.m.b.h.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.