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 />

Table 8–20 Statement Methods (Cont.)<br />

Method Description<br />

closeResultSet() on page 8-171 Immediately releases a result set’s database and OCCI<br />

resources instead of waiting for automatic release.<br />

closeStream() on page 8-172 Close the stream specified by the parameter stream.<br />

execute() on page 8-172 Execute the SQL statement.<br />

executeArrayUpdate() on<br />

page 8-173<br />

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

Execute insert/update/delete statements which use<br />

only the setDataBuffer() or stream interface for<br />

bind parameters.<br />

executeQuery() on page 8-175 Execute a SQL statement that returns a single<br />

ResultSet.<br />

executeUpdate() on page 8-175 Execute a SQL statement that does not return a<br />

ResultSet.<br />

getAutoCommit() on page 8-175 Return the current auto-commit state.<br />

getBfile() on page 8-176 Return the value of a BFILE as a Bfile object.<br />

getBlob() on page 8-176 Return the value of a BLOB as a Blob object.<br />

getBytes() on page 8-176 Return the value of a SQL BINARY or VARBINARY<br />

parameter as Bytes.<br />

getCharSet() on page 8-177 Return the character set that is in effect for the specified<br />

parameter.<br />

getClob() on page 8-177 Return the value of a CLOB as a Clob object.<br />

getConnection() on page 8-177<br />

getCurrentIteration() on<br />

page 8-177<br />

getCurrentStreamIteration() on<br />

page 8-178<br />

getCurrentStreamParam() on<br />

page 8-178<br />

Return the iteration number of the current iteration that<br />

is being processed.<br />

Return the current iteration for which stream data is to<br />

be read or written.<br />

Return the parameter index of the current output<br />

Stream that must be read or written.<br />

getCursor() on page 8-178 Return the REF CURSOR value of an OUT parameter as<br />

a ResultSet.<br />

getDatabaseNCHARParam() on<br />

page 8-179<br />

Return whether data is in NCHAR character set.<br />

getDate() on page 8-179 Return the value of a parameter as a Date object<br />

getDouble() on page 8-179 Return the value of a parameter as a <strong>C++</strong> double.

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

Saved successfully!

Ooh no, something went wrong!