1.

What Is The Difference Between Jdbc And Hibernate?

Answer»

There are many differences between JDBC and Hibernate but the most important one is that JDBC provides an API to connect to the database and execute the query but Hibernate is an ORM (Object RELATIONAL modeling) framework, which means it allows you to work with objects while it takes care of SAVING and retrieving object from database.

In SHORT, in JDBC you need to write SQL queries to GET and store data from database but in Hibernate you just deal with objects, Hibernate takes care of issuing SQL queries to the database.

There are many differences between JDBC and Hibernate but the most important one is that JDBC provides an API to connect to the database and execute the query but Hibernate is an ORM (Object Relational modeling) framework, which means it allows you to work with objects while it takes care of saving and retrieving object from database.

In short, in JDBC you need to write SQL queries to get and store data from database but in Hibernate you just deal with objects, Hibernate takes care of issuing SQL queries to the database.



Discussion

No Comment Found