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.

Clob Class<br />

setCharSetId()<br />

setCharSetForm()<br />

bufsize<br />

The size of the buffer.<br />

Valid values are:<br />

Numbers greater than or equal to amt.<br />

offset<br />

The position at which to begin reading data from the CLOB. If offset is not<br />

specified, the data is read from the beginning of the CLOB.<br />

Valid values are:<br />

Numbers greater than or equal to 1.<br />

This method sets the Character set Id associated with Clob. The charset id set will<br />

be used for readread/write and getStream() operations. If no value is set explicitly,<br />

the default client's character set id is used.<br />

List of character sets supported is given in Globalization Support <strong>Guide</strong> Appendix<br />

A.<br />

Syntax<br />

void setCharSetId( const OCCI_STD_NAMESPACE::string &charset);<br />

Sets the character set form associated with the CLOB. The charset form set will be<br />

used for read/write and getStream() operations. If no value is set explicitly, by<br />

default, OCCI_SQLCS_IMPLICIT will be used.<br />

Syntax<br />

void setCharSetForm( CharSetForm csfrm );<br />

Parameters<br />

csfrm<br />

The char set form for Clob.<br />

8-34 <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!