Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: JDBC/Oracle 7

Re: JDBC/Oracle 7

From: Tim Loss <timothy_at_gate.net>
Date: 1998/02/02
Message-ID: <34D64DB4.31AB0450@gate.net>#1/1

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 Received on Mon Feb 02 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US