?
Solved

JDBC driver for Oracle / subprotocol (evijay)

Posted on 1998-12-23
1
Medium Priority
?
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

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

Merry Christmas
Vijay

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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.
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 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