Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC TYPE 4 driver" Watch "JDBC TYPE 4 driver" New topic

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.

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 !!
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

1. YES
2. YES

Not many get the right opportunity !
Don't get me started about those stupid light bulbs.
subject: JDBC TYPE 4 driver
Similar Threads
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
using oracle thin diver, tomcat 5.5.9
Java 1.5 and Oracle 8 database
Network Adapter Problem
Can't connect to remote sql server