This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC TYPE 4 driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC TYPE 4 driver" Watch "JDBC TYPE 4 driver" New topic
Author

JDBC TYPE 4 driver

Manish Shinde
Ranch Hand

Joined: Mar 30, 2011
Posts: 39
I have some some doubts in JDBC type 4 driver.

while making database connection in oracle i have used classes12.jar which is of TYPE 4.

Question
1) Who does provide this classes12.jar ?Is it database vendor like in this case oracle database vendor?

2)If classes12.jar is provided by database vendor then if tomorrow i change database then i will have to use .jar provided
by that database vendor.
so Is it correct that if i use MY-SQL then i will have to use let say mysql-connector-java-3.1.6-bin.jar which is i suppose
provided by My-SQL vendor?

Thanks in advance !!
Manish
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

1. YES
2. YES


S.D. MADHAN
Not many get the right opportunity !
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JDBC TYPE 4 driver
 
Similar Threads
using oracle thin diver, tomcat 5.5.9
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Java 1.5 and Oracle 8 database
Network Adapter Problem
Can't connect to remote sql server