Precompilers and OCI (MOSC)

MOSC Banner

How do reference attributes of an OCCI object generated through OTT?

edited Dec 22, 2013 11:50PM in Precompilers and OCI (MOSC) 2 commentsAnswered
 I am querying complex objects containing nested tables in a C++ program where I generated the needed code through OTT.  I got my program to work to the point where I have retrieved my objects from the database into a vector.  However, I'm not clear on how to reference the attributes of the complex object.  Is this done through the ReadSQL method?  If so, I can't seem to find any documentation or examples on how to use this method to access the actual data.  For example, here is a section of my main() where I am retrieving the object:

    // Assume "env" has been created and a connection to the db has been made

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center