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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

getCharSet()<br />

getClob()<br />

Parameters<br />

colIndex<br />

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

Gets the character set in which data would be fetched, as a string.<br />

Syntax<br />

string getCharSet(unsigned int paramIndex) const;<br />

Parameters<br />

paramIndex<br />

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

ResultSet Class<br />

Get the value of a column in the current row as a Clob. Returns the column value; if<br />

the value is SQL null, the result is NULL.<br />

Syntax<br />

Clob getClob(unsigned int colIndex);<br />

Parameters<br />

getColumnListMetaData()<br />

colIndex<br />

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

The number, types and properties of a ResultSet’s columns are provided by the<br />

getMetaData method. Returns the description of a ResultSet’s columns. This<br />

method will return the value of the given column as a PObject. The type of the<br />

<strong>C++</strong> object will be the <strong>C++</strong> PObject type corresponding to the column’s SQL type<br />

registered with Environment’s map. This method is used to materialize data of<br />

SQL user-defined types.<br />

OCCI Classes and Methods 8-147

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

Saved successfully!

Ooh no, something went wrong!