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.

changePassword()<br />

commit()<br />

This method changes the password of the user currently connected to the database.<br />

Syntax<br />

void changePassword(const string &user,<br />

const string &oldPassword,<br />

const string &newPassword);<br />

Parameters<br />

user<br />

The user currently connected to the database.<br />

oldPassword<br />

The current password of the user.<br />

newPassword<br />

The new password of the user.<br />

Connection Class<br />

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

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

Syntax<br />

void commit();<br />

createStatement()<br />

This method creates a Statement object with the SQL statement specified.<br />

Syntax<br />

Statement* createStatement(const string &sql ="");<br />

Parameters<br />

sql<br />

The SQL string to be associated with the statement object.<br />

OCCI Classes and Methods 8-39

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

Saved successfully!

Ooh no, something went wrong!