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.

Connection Class<br />

Syntax<br />

LNOCIServer* getOCIServer() const;<br />

getOCIServiceContext()<br />

getOCISession()<br />

rollback()<br />

This method returns the OCI service context associated with the connection.<br />

Syntax<br />

LNOCISvcCtx* getOCIServiceContext() const;<br />

This method returns the OCI session context associated with the connection.<br />

Syntax<br />

LNOCISession* getOCISession() const;<br />

This method drops all changes made since the previous commit or rollback, and releases any<br />

database locks currently held by the session.<br />

Syntax<br />

void rollback();<br />

terminateStatement()<br />

This method closes a Statement object and frees all resources associated with it.<br />

Syntax<br />

void terminateStatement(Statement *statement);<br />

Parameters<br />

statement<br />

The Statement to be closed.<br />

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