Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Missing functionality in OCI

Missing functionality in OCI

From: Dirk Schreib <Dirk.Schreib_at_uumail.de>
Date: Sun, 17 Oct 1999 01:07:18 +0200
Message-ID: <7ub0c7$5s6$1@newsread.do.de.uu.net>


I'm trying to implement a C++ wrapper for Oracle DB access with OCI (Version 8.1.5 i.e. 8i).

The wrapper maps some standard C++ types e.g. std::string to e.g. VARCHAR2. There is no problem with binding of IN variables but with binding of OUT variables or defining variables for select lists it is NOT possible to convert the buffer (char*) back to std::string. (The callback methods for piecewise operations are only called before the data is fetched and not after.)

The new userdefined callback methods from version 8.1.5 are of no help either because they are called per OCI function call and not per transferred variable.

Any help is really appreciated.

Ciao
  Dirk Received on Sat Oct 16 1999 - 18:07:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US