Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: JDBC/Oracle 7
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