10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OCCI Demonstration Programs<br />

conn = env->createConnection (user, passwd, db);<br />

}// end of constructor occidesc (string, string, string )<br />

/**<br />

* Destructor for the occidesc demo program.<br />

*/<br />

~occidesc () throw (SQLException)<br />

{<br />

env->terminateConnection (conn);<br />

Environment::terminateEnvironment (env);<br />

} // end of ~occidesc ()<br />

// Describing a subtype<br />

void describe_type()<br />

{<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!