User`s guide

The Object Type Translator
5-10 Oracle Database User's Guide
5.6 The Object Type Translator
This section discusses port-specific notes for using the Object Type Translator.
5.6.1 Starting Ott
As the Object Type Translator is based on Java it can only be started in the POSIX
environment. You must use the JDBC Thin driver to connect to the database. The
connect string is published in the url-option as follows:
url=jdbc:oracle:thin:@hostname:port:sid
In the following example, OTT will connect to the database with the service identifier
orcl,
on the host
myhost,
that has a TCP/IP listener on port 1521.
For example:
ott userid=scott/tiger url=jdbc:oracle:thin:@myhost:1521:orcl intype=demoin.typ
outtype=demoout.typ code=c hfile=demo.h
5.6.2 Ott System Configuration File
The OTT system configuration file is shipped under:
$ORACLE_HOME/precomp/admin/ottcfg.cfg
See Also: Pro*C/C++ Programmer's Guide for more information about
Object Type Translator.