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.

markDelete()<br />

markModified()<br />

operator=()<br />

operator delete()<br />

This method marks a persistent object as deleted.<br />

Syntax<br />

void markDelete();<br />

This method marks a persistent object as modified or dirty.<br />

Syntax<br />

void mark_Modified();<br />

PObject Class<br />

This method assigns the value of a persistent object this PObject object. The nature<br />

(transient or persistent) of the object is maintained. Null information is copied from<br />

the source instance.<br />

Syntax<br />

PObject& operator=(const PObject& obj);<br />

Parameters<br />

obj<br />

The object to copy from.<br />

This method is used to delete a persistent or transient object. The delete operator on<br />

a persistent object removes the object from the application cache only. To delete the<br />

object from the database server, invoke the markDelete() method.<br />

Syntax<br />

void operator delete(void *obj,<br />

size_t size);<br />

OCCI Classes and Methods 8-129

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

Saved successfully!

Ooh no, something went wrong!