OCCI - getString() fails in subsequent calls
From: jakob kollmann <jakob.kollmann_at_denimbox.com>
Date: Mon, 23 Feb 2004 21:25:25 +0100
Message-ID: <c1dnk3$1g4oq4$1_at_ID-129548.news.uni-berlin.de>
Hello all!
Date: Mon, 23 Feb 2004 21:25:25 +0100
Message-ID: <c1dnk3$1g4oq4$1_at_ID-129548.news.uni-berlin.de>
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.Received on Mon Feb 23 2004 - 21:25:25 CET