answersLogoWhite

0

Why is there a JDBC driver in java?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

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.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is there a JDBC driver in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What do you understand by JDBC driver in java?

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.


Which types of JDBC drivers allows your java programs to communicate with the ODBC driver of your dbms?

JDBC - ODBC bridge


What is type 4 jdbc driver?

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.


Is it possible while developing any software by using java can you manage database?

Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.


What is jdbc-odbc bridge?

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.


JDBC drivers and driver maneger?

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.


What do you mean by database driver?

JDBC which is short for java database connectivity is used to connect database to a java project . To make connectivity a database driver is required to establish the connection.


List four JDBC drivers?

JDBC ODBC BridgeNative API Partly Java DriverNet Protocol full Java driverare some types of jdbc drivers


What is the use of JDBC?

JDBC stands for Java Database connectivity which is a standard java API for database. It is for database connectivity with project.


How can you connet java with sql in java programming?

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() ;


Describe about JDBC architectural overview?

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.


How do you use database in java?

By using JDBC/hibernet