top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Which jdbc driver class is used by ojdbc14.jar and jconn-7.0 jar?

+3 votes
706 views

Which JDBC Driver class is used by ojdbc14.jar(Oracle11g) and jconn-7.0 jar(Sybase ASE 15.7) ?
As we know there are 4 different types of JDBC Driver types are present, such as

  1. JDBC-ODBC Bridge Driver
  2. Native-API Driver
  3. Network Protocol Driver
  4. Thin Driver
posted Jan 4, 2016 by Chinmoy Padhi

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
I think u need type 4 driver for both oracle/sybase ( http://www.tutorialspoint.com/jdbc/jdbc-driver-types.htm ). Not sure If I understood the question correctly.
Thanks Salil,
Basically I want to know the above jars falls into which JDBC Driver Types.
ojdb14.jar from Oracle, probably with a "thin" jdbc configuration, which means type-4 driver configuration. To confirm please read the manual :)

Similar Questions
+2 votes

I declared a variable and incremented/modified it inside Mapper class. Now I need to use the modified value of that variable in Driver class. I declared a static variable inside Mapper class and its modified value works in Driver class when I run the code in Eclipse IDE. But after creating that code as a runable jar from Eclipse and run jar file as “$ hadoop jar filename.jar input output” modified value does not reflect (value is 0) in Driver class.

...