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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: retrieving objects usign OCI

Re: retrieving objects usign OCI

From: siddharth aggarwal <siddharthaggarwal_at_yahoo.com>
Date: Tue, 25 Dec 2001 21:24:27 -0800
Message-ID: <F001.003E29DF.20011225210518@fatcity.com>

Thanks George for the links.

I went through the examples and have observed that in all the cases, a corresponding C structure is known for the user defined type at compile time and hence it has been hardcoded. This structure is then used to allocate memory in the OCIDefineByPos and OCIDefineObject calls so as to receive a row of data during the OCIStmtFetch call.

However my problem is that I donot know the structure of the type at compile time. I am making a general purpose data access mechanism and hence cannot hard-code any C structures in my code. I would rather know the structure of the object at runtime and then fetch the object.

Looking forward to some more help in this regard. Regards,
Siddharth.


Do You Yahoo!?
Send your FREE holiday greetings online! http://greetings.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: siddharth aggarwal
  INET: siddharthaggarwal_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 25 2001 - 23:24:27 CST

Original text of this message

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