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.

7<br />

How to Use the Object Type Translator<br />

Utility<br />

This chapter discusses the Object Type Translator (OTT) utility, which is used to<br />

map database object types, LOB types, and named collection types to C structures<br />

and <strong>C++</strong> class declarations for use in OCCI, OCI, and Pro*C/<strong>C++</strong> applications.<br />

Note: JDK 1.3.1 compatible Java copiler and Java interpreter must<br />

be correctly installed.<br />

This chapter includes the following topics:<br />

■ How to Use the OTT Utility<br />

■ Creating Types in the Database<br />

■ Invoking the OTT Utility<br />

■ Overview of the INTYPE File<br />

■ OTT Utility Datatype Mappings<br />

■ Overview of the OUTTYPE File<br />

■ The OTT Utility and OCCI Applications<br />

■ Carrying Forward User Added Code<br />

■ Example OCCI Application<br />

■ OTT Utility Reference<br />

How to Use the Object Type Translator Utility 7-1

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

Saved successfully!

Ooh no, something went wrong!