This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Dear All, I'm told that to do database access from within my Java programs I don't need a JDBC driver at all. My environment is: Personal Oracle7, Java1.3, Win98. Can somebody please help me with a sample code and on how to set up things to get me started? Thanks in advance ------------------
Monty Ireland
Ranch Hand
Joined: Oct 03, 2000
Posts: 161
posted
0
Who told you that tail... I have hear of stories being told around the camp fire.... but.... I have never heard of this one.... Please correct me if I am wrong..! I very ! Please review the following code that uses the oracle jdbc driver CLASSES111.ZIP. This file must be in you CLASSPATH. The following code works with JDK1.3 on NT and Oracle 7.3.4 on unix. <code> import java.sql.*;
public class CreateCoffees { public static void main(String args[]) {
} catch(SQLException ex) { System.err.println("SQLException: " + ex.getMessage()); } } } </CODE> ------------------ We learn more from our mistake's than from our success's. [This message has been edited by Monty Ireland (edited October 16, 2000).]
Multi Platform Database Developer & DBA on E.S.T.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
Just as a note, we've moved over from the old classes111.zip to a newer classes12_01.zip to access Oracle 7. It has one or two peculiarities, but does seem to fix some serious peoblems which were present in the 111 driver. Good luck trying to find any support for Oracle 7 from Oracle's site, though.