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.

Statement Class<br />

getObject()<br />

getOCIStatement()<br />

getRef()<br />

Syntax<br />

Number getNumber(unsigned int paramIndex);<br />

Parameters<br />

paramIndex<br />

The first parameter is 1, the second is 2, . . . .<br />

Get the value of a parameter as a PObject. This method returns an PObject<br />

whose type corresponds to the SQL type that was registered for this parameter<br />

using registerOutParam. Note that this method may be used to read<br />

database-specific, abstract data types. Returns A PObject holding the OUT<br />

parameter value.<br />

Syntax<br />

PObject * getObject(unsigned int paramIndex);<br />

Parameters<br />

paramIndex<br />

The first parameter is 1, the second is 2, . . . .<br />

Get the OCI statement handle associated with the Statement. Returns the OCI<br />

statement handle associated with the Statement<br />

Syntax<br />

LNOCIStmt * getOCIStatement() const;<br />

Get the value of a REF parameter as RefAny. Returns the parameter value.<br />

Syntax<br />

RefAny getRef(unsigned int paramIndex);<br />

8-182 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!