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.

getUpdateCount()<br />

getVector()<br />

Parameters<br />

paramIndex<br />

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

Returns the current result as an update count.<br />

Syntax<br />

unsigned int getUpdateCount() const;<br />

Statement Class<br />

This method returns the column in the current position as a vector. The column at<br />

the position , specified by index, should be a collection type (varray or nested<br />

table). The SQL type of the elements in the collection should be compatible with the<br />

type of the vector<br />

Syntax<br />

There are variant of syntax:<br />

void getVector(Statement *stmt,<br />

unsigned int paramIndex,<br />

vector &vect;<br />

void getVector(Statement *stmt,<br />

unsigned int paramindex,<br />

vector &vect;<br />

void getVector(Statement *stmt,<br />

unsigned int index,<br />

vector &vect;<br />

void getVector(Statement *stmt,<br />

unsigned int paramindex,<br />

vector &vect;<br />

void getVector(Statement *stmt,<br />

unsigned int paramindex,<br />

OCCI Classes and Methods 8-185

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

Saved successfully!

Ooh no, something went wrong!