Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate What is the advantage of hibernate over JDBC?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What is the advantage of hibernate over JDBC?
1 Answer(s)      a year and 7 months ago
Posted in : Hibernate


HI,

What is the advantage of hibernate over JDBC?

thanks,


Advertisement
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,



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com