JDBC Driver Manager is a class that manages a list of database drivers. It matches connection requests from the java application with the proper database driver using communication sub protocol.
JDBC driver is an interface enabling a java application to interact with a database. To connect with individual database, JDBC requires drivers for each database.
JDBC - ODBC bridge
There are more than one JDBC drivers for Microsoft SQL Server. Each one has a different driver name.
JDBC is short for java database connectivity. There are 4 type of JDBC drivers : 1) JDBC-ODBC 2) Native-API 3) JDBC-Net 4) Native-Protocol.
General JDBC Architecture consist of two layers: JDBC API - this provides the application to JDBC manager connection. JDBC driver API - this supports the JDBC manager to driver connection.
JDBC ODBC BridgeNative API Partly Java DriverNet Protocol full Java driverare some types of jdbc drivers
jdbc-odbc bridge is a jdbc driver required to connect java application to the specified database. Using this driver the java calls are converted to the odbc calls and then are referred to the database. Since odbc driver are the implemetation of the API written in C language. As in the case of this driver the API is provided by Sun MicroSystem itself and the implementation of these API is done by the Database Vendors.
Call java.sql.DriverManager.loadDriver("postgresql");.
There are four types of JDBC driver:JDBC - ODBC bridgeNative-API driverNetwork-Protocol DriverNative-Protocol DriverSee related link for more information.
JDBC mean Java Database Connectivity. In java, using JDBC drivers, we can connect to database. Steps to connect to JDBC. 1) Load the driver, using Class.forName(DriverName); 2) Get the connection object, Connection con = Driver.getConnection(loaded driver name); 3) Create a SQL statement, Statement s = con.createStatement(); 4) Create Resultset object using the statement created above, ResultSet rs = s.executeQuery("sql statement"); Iterate the result set to get all the values from the database. Finally don't miss this 5) s.close(); 6) con.close() ;
Actually coming to this one, we need to discuss about those companies which are invented the java(Sun Micro System) and database(Oracle), in olden days these companies were tie up that time, so that's why we are accessing the database with application program written in java. now coming to our topic, We need to select the suitable drivers to our application(Desktop or Web Application) load the drivers through application. Those drivers are JDBC drivers, JDBC is nothing but pool of drivers in which some drivers are default in Windows OS, when ever we create the DATABASE Application like ORACLE, then automatically drivers are also included in JDBC.
The JDBC exists so that you can change the underlying driver with just a change of a String, and still be able to execute the same statements on a different type of database. In summary, it was made so that you don't have to redesign your entire application to change database types.