- JDBC stands for Java Database Connectivity.
- JDBC is not a language.
- JDBC is a technology written in java language.
- JDBC is a specification or abstracts or protocols given by Sun Microsystem for developing database as well as platform independent java applications.
- JDBC API (Application Programming Interface) is a collection of Interfaces.
- JDBC is a specification given by sun microsystem for developing JDBC drivers.
What is JDBC Driver ?
JDBC Driver API is an implementation of JDBC API. JDBC Driver converts JDBC call into database specific call.
Who develop JDBC Driver ?
There are 3 people in developing JDBC Drivers.
- Sun Microsystem
- Database Vendor
- Third party vendor
What is the difference between ODBC and JDBC ?
- ODBC specification is given by Microsoft whereas JDBC specification is given by Sun Microsystem.
- ODBC is written in C language, JDBC is written in java.
- ODBC is platform dependent, JDBC is platform independent.
Types of JDBC Drivers ?
- Type 1 - JDBC-ODBC Bridge Driver.
- Type 2 - Native API and partially java driver.
- Type 3 - NetAPI and all java driver.
- Type 4 - Native protocol and pure java driver.
No comments:
Post a Comment