Solved

JDBC driver for Oracle / subprotocol (evijay)

Posted on 1998-12-23
1
368 Views
Last Modified: 2008-03-10
This is the most basic of JDBC/Oracle questions.
    I am attempting to communicate with an Oracle db with a Java applicaiton via JDBC. I cannot find any
    documentation from Oracle specifying the driver,or the subprotocol.

    The code i am using is below.  the call to Class.forName works,which means only that it found the class, not that it
    is necessarly the driver.

    the line:
    con = DriverManager.getConnection (strURL, "Username", "*******");
    generates an SQLException "No Suitable Driver" which tells the OracleDriver.class is not the driver, or that i need
    a
    subprotocol, or some other unknown.

    I am using Windows NT, Java 1.1.x, and Oracle 8 Personal Edition.  I am following an example from the book
    "JDBC Database Access with Java" by Hamiltion, Cattell, Fisher

    my question is can someone tell me where documentation telling what i need to know is (JDBC driver name for
    Oracle8, subprotocol)


***********************************************************
from evijay
lease download oracle jdbc thin driver from oracle site and then install it. It has readme and a good number
      of examples which contain the driver name.

download just the jdbc thin driver., not the download with OCI and thin.
0
Comment
Question by:mickeydog
1 Comment
 
LVL 4

Accepted Solution

by:
evijay earned 20 total points
ID: 1230071
Thanx for the points

Merry Christmas
Vijay

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now