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.

Parameters<br />

paramIndex<br />

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

x<br />

The parameter value.<br />

setBinaryStreamMode()<br />

setBlob()<br />

Defines that a column is to be returned as a binary stream by the getStream<br />

method.<br />

Syntax<br />

void setBinaryStreamMode(unsigned int colIndex,<br />

unsigned int size);<br />

Parameters<br />

colIndex<br />

Column to be bound as a stream. The first column is 1, the second is 2, . . . .<br />

size<br />

The amount of data to be read or returned as a binary stream.<br />

Set a parameter to a Blob value.<br />

Syntax<br />

void setBlob(unsigned int paramIndex,<br />

const Blob &x);<br />

Parameters<br />

paramIndex<br />

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

Statement Class<br />

OCCI Classes and Methods 8-191

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

Saved successfully!

Ooh no, something went wrong!