Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple JDBC test question

 
Stephen Lim
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question: JDBC Type 4 drivers are implemented

A. using a mixture of java code and custom C code, linked using the JNI

B. using a proprietary database vendor protocol to communicate with the JVM

C. in pure java

D. using generic networking APIs through TCP/IP sockets. At the server-side, a middleware application translates the generic APIs to the database-specific calls required
I answered as C. Is this correct?
Pls view info at http://www.cariboulake.com/techinfo/jdbc_driver_types.html I'm sure many of us here has use classes12.zip (the JDBC driver for Oracle). Now, is that type 3 or 4?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I answered as C. Is this correct?
Yes.
I'm sure many of us here has use classes12.zip (the JDBC driver for Oracle). Now, is that type 3 or 4?
It should be Type 4.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic