• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

simple question!!!

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all
could anybody please tell me the difference between four types of JDBC drivers
regards
namita
------------------
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Copy pasting from JDBC 3.0 Specification:
(See if you can make out any meaning :-) ).
9.1 Types of Drivers
There are many possible implementations of JDBC drivers. These implementations
are categorized as follows:
Type 1 � drivers that implement the JDBC API as a mapping to another data
access API, such as ODBC. Drivers of this type are generally dependent on a
native library, which limits their portability. The JDBC-ODBC Bridge driver is an
example of a Type 1 driver.
Type 2 � drivers that are written partly in the Java programming language and
partly in native code. These drivers use a native client library specific to the data
source to which they connect. Again, because of the native code, their portability
is limited.
Type 3 � drivers that use a pure Java client and communicate with a middleware
server using a database-independent protocol. The middleware server then communicates the client�s requests to the data source.
Type 4 � drivers that are pure Java and implement the network protocol for a specific data source. The client connects directly to the data source.

[This message has been edited by Amit Agrawal* (edited September 20, 2001).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic