File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC TYPE 4 driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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 !
I agree. Here's the link:
subject: JDBC TYPE 4 driver
It's not a secret anymore!