What is the advantage of hibernate over JDBC?

What is the advantage of hibernate over JDBC?

HI,

What is the advantage of hibernate over JDBC?

thanks,

View Answers

May 1, 2013 at 3:57 PM

Hi,

The Hibernate is an open source persistence programming technology of Java language. Hibernate offers ORM library and high performance query services. Hibernate plays as bridge between database and Applications.

JDBC is an abbreviation of Java Database Connectivity. Java Database connectivity(JDBC) allows user to connect with database to handling the data. JDBC offers methods for querying and updating data by using the SQL.

In JDBC you need to write code for mapping data of your object model and corresponding database. The benefits of using Hibernate you need not require to write code for mapping data of your object model. In hibernate you find the feature of Object/Relational mapping.

Hibernete suppots various queryinhg concept of native SQL, Hibernate query language(HQL) also object orient concepts of criteria. Where as Java Database connectivity(JDBC) only support Native SQL.

For more about the advantages of using Hibernate over JDBC read this article link: http://www.roseindia.net/hibernate/HibernateVsJdbc.shtml

Thanks,

Ads









Related Tutorials/Questions & Answers:
What is the advantage of hibernate over JDBC?
What is the advantage of hibernate over JDBC?
Advertisements
What is the main advantage of using the hibernate than using the SQL
What is Hibernate
What is Hibernate
What is Hibernate
What is Hibernate
What is hibernate ?
Hibernate:What is hibernate?
Hibernate:What is Hibernate proxy?
What is benefits of Apache Kafka over the traditional messaging
What is benefits of Apache Kafka over the traditional messaging
how to override the hashCode() method ? and What is the advantage of overide the hashcode().
What is Hibernate proxy?
What is Hibernate and what is its use?
What is Hibernate and what is its use?
What is review of Hibernate in Java?
What is review of Hibernate in Java?
What is review of Hibernate in Java?
What is Hibernate Framework?
What is Hibernate sessionfactory
What is component mapping in Hibernate?
What are the Collection types in Hibernate ?
What are derived properties in hibernate?
What are the benefits of ORM and Hibernate?
What is hibernate technology in java?
What are dialects in hibernate?
What is the use of Hibernate is used?
What is Hibernate Criteria Transformer?
What is prerequisite to learn Hibernate?
What are criteria Queries in Hibernate?
What is lazy fetching in hibernate
What is Maven dependency for Hibernate?
What is VOIP (Voice Over Internet Protocol)?
HIbernate:What are the ORM levels?
Benefit of Spring Injection over Hibernate / JDBC w/Oracle
What's new in Hibernate 5?
what is an entity in hibernate?
What are the Core interfaces are of Hibernate framework?
What is Hibernate Query Language (HQL)?
What are the types of inheritance models in Hibernate?
What is the difference between hibernate and spring
What the four ORM levels are in hibernate?
What is the default cache service of hibernate?
What are different environments to configure hibernate?
What is the use of Hibernate Native SQL?
What's new in Hibernate 4.3.0 Final?
What are the jobs that AI is most likely to displace over the next several years?
what is hibernate dtd file location
What is the difference between JPA and Hibernate?

Ads