Hi
I was working fine with 9i JDBC (classes12.zip dirver). But 10g gives me connection time out. I already downloaded ojdbc14.jar dirver for 10g.
java.sql.SQLException: ORA-12170: TNS:Connect timeout occurred
ORA-12170: TNS:Connect timeout occurred
Thanks
sithu
-
Problem with Oracle 10g JDBC (2 messages)
- Posted by: sithu aung
- Posted on: February 16 2005 17:46 EST
Threaded Messages (2)
- Problem with Oracle 10g JDBC by Ludwig Bargagli on February 17 2005 05:07 EST
- Oracle driver confusion by Sam Terrell on February 17 2005 07:27 EST
-
Problem with Oracle 10g JDBC[ Go to top ]
- Posted by: Ludwig Bargagli
- Posted on: February 17 2005 05:07 EST
- in response to sithu aung
Have you tried with classes12.jar 10g version?
Ludwig. -
Oracle driver confusion[ Go to top ]
- Posted by: Sam Terrell
- Posted on: February 17 2005 07:27 EST
- in response to Ludwig Bargagli
classes12.jar/classes12.zip:
JDBC 2.1 compliant
Only for JVM 1.2, 1.3
ojdbc14.jar
JDBC 3.0 compliant
Only for JVM 1.4
If you run JVM 1.5, use ojdbc14.jar as well. I don't think the JDBC API was updated for 1.5, and thus no driver update.
You should always pick the driver based on the version of the VM.
This is just information I've gathered. I started looking when I had issues with BLOB handeling that worked fine on a machine for about a week, then crashed. Also there are some strange connection issues that I've run into.