What are the benefits of hibernate over JDBC?


Please explain why do you think this question should be reported?

Report Cancel

Benefits of hibernate over JDBC:-
a. Hibernate can be utilized consistently with a database as its database independent while in case of JDBC, designer needs to write database particular queries.

b. Utilizing hibernate, developer doesn’t should be a specialist of writing complex questions as HQL rearranges query writing process while in case of JDBC, its activity of designer to write and tune queries.

c. In the event of hibernate, there is no need to make connection pools as hibernate does all connection handling automatically while if there should be an occurrence of JDBC, connection pools should be created.

Please follow and like us:

About the Author