what are the advantages of JDBC?

Answer Posted / visruth cv

We know that the sql queries are different in different
databases. JDBC is a programming interface to communicate with the database. Whatever database we use we can choose JDBC to communicate the programme with the database, but we may need to use different queries for different databases.
The main advantage of using JDBC is we can execute database queries by the programme so that we can utilize the functionality provided by the database (with the queries). More over we can use triggers too. JDBC provides many other functionalities (like the functions provided by CallableStatemtent class) to manage the data.
Additionally, loding the driver will be different to
different databases.

visruthvsrd@gmail.com, +91-9895154767

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we retrieve data from the resultset?

543


What are the different types of resultset?

539


What is jdbc architecture?

504


What is an advantage of using the jdbc connection pool?

443


What is the use of JDBC DriverManager class?

547






What is jdbc driver in java?

498


What are the common JDBC problems that you got and how do you solved them?

1949


How to set NULL values in JDBC PreparedStatement?

533


What is preparedstatement in jdbc?

508


How java can be connected to a database?

558


How to use JDBC to connect Microsoft Access?

586


Why are we using blob datatypes in jdbc?

547


What is resultset in jdbc with example?

482


What does the jdbc resultset interface?

521


What is the use of dialect?

561