Here is another way to connect to Oracle.
/* Start */
private Connection openConnection() {
Connection connection = null;
try {
// Register the database driver.
DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver() );
// Attempt to open a
Here is a code snipplet that I use for connecting to an oracle rdbm
you may have to alter it somewhat to get it to work right for you, but I do
believe that with a little study you will have no problems.
~~ FYI: Oracle is probalby the hardest database to connect to ~~
/* S T
Hi, friends:
I got some proble to install/use JDBC. I am looking for help.
The problems are:
1. I install JAVA (jdk116_v5), JDBC (8.0.5 thin), and ORACLE (8.0.5) on my
linux
box (RH5.2 linux v2.0.35). The PATH and CLASSPATH are set up as following:
PATH=$PATH:$HOME/bin:.
PATH=$P