Explain the important benefits of Hibernate framework?

devquora
devquora

Posted On: Feb 22, 2018

 

Few important benefits of Hibernate framework are:
  • Hibernates allows us to focus on business logic, eliminating all the boiler-plate code that comes with JDBC and handles the resources.
  • Code implementation becomes independent as Hibernate framework provides the support for XML and also to the JPA annotations.
  • HQL is powerful Query Language which is similar to SQL, and HQL understands the concepts of polymorphism, inheritance, and association, which makes it fully object-oriented.
  • Better performance can be achieved by Hibernate cache.
  • It supports Lazy initialization with the use of proxy objects and when required performs actual database queries.
  • We can execute native SQL queries using hibernate for vendor specific feature.

On the whole, hibernate makes it a better choice in the current market for ORM tool, as it contains all the features that you will require in an ORM tool.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Hibernate Interview Questions

    What is Hibernate ?

    Hibernate is a free software, which is distributed under GNU Lesser General public license 2.1. It is categorized under the Object Relational Mapping (ORM)...

    Hibernate Interview Questions

    What is HQL in Hibernate?

    HQL is the acronym of Hibernate Query Language.It considers the java objects in a similar way as that of the SQL. It is..

    Hibernate Interview Questions

    Explain the advantages of Hibernate?

    Some of the advantages of Hibernate are: It provides Simple Querying of data. An application server is not required to..