Solved

JDBC driver for Oracle / subprotocol (evijay)

Posted on 1998-12-23
1
372 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java asynchronous logging 4 50
Unable to start eclipse ? 17 132
GUI builder for Eclipse? 8 27
jar file executable 12 40
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

911 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

19 Experts available now in Live!

Get 1:1 Help Now