Siemens BS2000/OSD Guida Utente Pagina 44

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 80
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 43
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.
Vedere la pagina 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 79 80

Commenti su questo manuale

Nessun commento