Solved

JDBC driver for Oracle / subprotocol (evijay)

Posted on 1998-12-23
1
379 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 20 total points
ID: 1230071
Thanx for the points

Merry Christmas
Vijay

0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jdbc error in jsp application 20 74
Configure a Bean in an XML file 4 49
Tagging and Merging on Branch 1 45
import as existing maven project 3 42
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…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

696 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