What the benefits are of hibernate over jdbc?



What the benefits are of hibernate over jdbc?..

Answer / Pankaj Kumar Pandey

Hibernate offers several benefits over JDBC: (1) It abstracts the underlying database, allowing easy portability between databases. (2) It provides an Object-Relational Mapping (ORM) that reduces the amount of boilerplate code and simplifies the development process. (3) It generates SQL queries on the fly based on the mapped objects, reducing the need for manual querying. (4) It supports advanced features like caching, transactions, and lazy loading.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Is merge better than update?

1 Answers  


What does an orm solution comprises of?

1 Answers  


What is the use of mappedby in hibernate?

1 Answers  


What is true for hibernate and jpa?

1 Answers  


Explain the general flow of hibernate communication with rdbms.

1 Answers  


Why we use hibernate template?

1 Answers  


What is table per concrete class in hibernate?

1 Answers  


What is the difference between flush and commit in hibernate?

1 Answers  


Difference between save() and saveorupdate() method of hibernate?

1 Answers  


Mention the key components of hibernate?

1 Answers  


What is attribute oriented programming?

1 Answers  


What’s hql?

1 Answers  


Categories