Solved

JDBC driver for Oracle / subprotocol (evijay)

Posted on 1998-12-23
1
374 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java - Why doesn't this JFrame work 3 59
Basic Java Case or If-Else statement... 3 51
java stored proc example 9 32
arguments to jar 5 26
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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 will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

810 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