User guide
Table 2-1 RdbNative Format Elements
Element Description
<database_specification> Is the full file specification of the Rdb
database that you wish to connect to.
<connect_switches>
These optional switches may be used to
specify certain settings that should be
established when the database connection is
made.
See Connection Options
for more details.
Example
To connect to MY_DB_DIR:PERSONNEL:
Connection conn = DriverManager.getConnection(
"jdbc:RdbNative:my_db_dir:personnel",user, pass);
Note:
The
<database_specification>
should be a valid OpenVMS-style file specification
or
logical name.
my_disk:[my_directory]my_database
2.1.2 Class Used with the Oracle JDBC for Rdb native driver
The Rdb native driver can be found in the following class:
oracle.rdb.jdbc.rdbNative.Driver
2.2 Oracle JDBC for Rdb Thin Driver
The Oracle JDBC for Rdb thin driver is a 100 percent pure Java, Type IV driver. Because it
is written entirely in Java, this driver is platform-independent. It does not require any
additional Oracle software on the client side.
For use with applets, the thin driver can be downloaded into a browser along with the Java
applet being run. The HTTP protocol is stateless, but the thin driver is not. The initial HTTP
request to download the applet and the thin driver is stateless. Once the thin driver establishes
the database connection, the communication between the browser and the database is stateful
and in a two-tier configuration.
12