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.

OCCI Demonstration Programs<br />

OCCI Demonstration Programs<br />

demo_rdbms.mk<br />

Table A–1 OCCI Demonstration Programs (Cont.)<br />

Program Name Features Illustrated<br />

occiclob.cpp Demonstrates how to read and write CLOBs<br />

occicoll.cpp Demonstrates how to perform simple insert, delete, and<br />

update operations on a table column of type Nested Table<br />

occidesc.cpp Demonstrates how to obtain metadata about a table,<br />

procedure, and object<br />

occidml.cpp Demonstrates how to perform insert, select, update, and delete<br />

operations of a table row by using OCCI<br />

occiinh.cpp Demonstrates object inheritance by using insert, select, update,<br />

and delete operations on a table row of subtype table<br />

occiobj.cpp Demonstrates how to perform insert, select, update, and delete<br />

operations on a table row containing an object as one of its<br />

columns<br />

occipobj.cpp Demonstrates how to perform insert, select, and update<br />

operations on persistent objects, as well as how to pin, unpin,<br />

mark for deletion, and flush an object<br />

occipool.cpp Demonstrates how to use the connection pool interface of<br />

OCCI<br />

occiproc.cpp Demonstrates how to invoke PL/SQL procedures with bind<br />

parameters<br />

occistre.cpp Demonstrates how to use OCCI ResultSet streams<br />

This section lists each of the OCCI demonstration program files, in addition to the<br />

demo make file.<br />

The following code is for the make file that generates the demonstration programs:<br />

#<br />

# Example for building demo OCI programs:<br />

#<br />

# 1. All OCI demos (including extdemo2, extdemo4 and extdemo5):<br />

#<br />

# make -f demo_rdbms.mk demos<br />

#<br />

A-2 <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!