Why is ORM preferred over JDBC?

devquora
devquora

Posted On: Feb 22, 2018

 

  • It allows business code access the objects rather than Database tables.
  • It hides the details of SQL queries from OO logic.
  • It is based on JDBC “under hood”.
  • Dealing with database implementation is not required.
  • Entities are based on business concepts rather than database structures.
  • It generates the automatic key and Transaction management.
  • Application development is faster.

    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..