There are 4 types of JDBC drivers:
- JDBC-ODBC bridge driver : it allows access to DBMS via ODBC. It is accessible in J2SE platform via sun.jdbc.odbc.JdbcOdbcDriver.
- Native API partly Java driver : it translates JDBC’s calls to a particular DBMS through a mixture of Java’s API and native API.
- JDBC-Net pure Java driver : it is known also as network protocol driver, it allows database connection via an application server (middle-tier) converting JDBC calls, directly or indirectly, to vendor specific database protocol.
- Native-protocol pure Java driver : it allows also database connction via a middle-tier converting JDBC calls directly to vendor specific database protocol.
The last two protocols are written completely in Java.
See also :
- Basic Concepts in Java
- What is Class, interface, and Object in Java?
- public, private, and protected in Java
- What does static mean in Java?
- What does final mean in Java?
- What does transient mean in Java?
- What does volatile mean in Java?
- Cite three objects included in the JSP page
- What is servlet, what is jsp?
- What's difference between directive and action?
- Which are the struts tagLibs?
- What is Hibernate?
- What's JEE and which are their APIs?
1 comment
1 ping
Fitness exercise says:
August 17, 2011 at 3:56 am (UTC 0)
It was excited to come across your site a short while ago. I arrived here today hoping to learn interesting things. I was not upset. Your well thought out ideas with new strategies on this subject matter were enlightening and a great help to me. Thank you for making time to create these things and for sharing your mind.
My blog is on Fitness programs.
What’s JEE and which are their APIs? » Jalal MJADLI says:
May 24, 2011 at 2:09 pm (UTC 0)
[...] JDBC : API to connect to databases. (see Which are types of JDBC drivers?) [...]