Java + Oracle 9

freeek

Expert Member
Joined
Dec 6, 2003
Messages
2,143
Reaction score
1
Location
Cape Town, South Africa.
Hi there people

I have been google for a while now and just getting crap information.

Does anyone know how to create a connection to db through Java. The Database is a Oracle 9, and is on a sever somewhere on the network.

from my reading i need these class files or packages:

import oracle.sql.*;
import oracle.jdbc.driver.*;

where do I find them?
 
ya! I created a work around .... made a vb command line app which writes to a files and i readin from the file.

Only problem, how do i read a files that isn't in the java directory?
BufferedReader in = new BufferedReader(new FileReader("c:\TelkomEBonding.txt"));
 
Top
Sign up to the MyBroadband newsletter
X