From: Tim Loss <timothy@gate.net>
Subject: Re: JDBC/Oracle 7
Date: 1998/02/02
Message-ID: <34D64DB4.31AB0450@gate.net>#1/1
Content-Transfer-Encoding: 7bit
References: <Pine.OSF.3.96.980202111059.31769B-100000@osf1.gmu.edu>
Mime-Version: 1.0
Reply-To: timothy@gate.net
To: chinh <cdinh@osf1.gmu.edu>
Content-Type: text/plain; charset=us-ascii
Organization: TLComputing, Inc
Newsgroups: comp.databases.oracle.misc



Try this:
   Class.forName ("oracle.jdbc.driver.OracleDriver"); // force loading
of driver
   System.out.println("Driver Loaded!\n");

   // Attempt to connect to a driver.

 DBControl.conn = DriverManager.getConnection ("jdbc:oracle:oci7:@",
"Username", "Password" );
 System.out.println("Driver Connected!\n");
BTW this works in appletviewer. For netscape you need to add all the
security stuff, and call the thin drivers.

Hope this helps.
Tim




