What is HQL?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Sep 18, 2019

 

    1 Answer Written

  •  Sharad Jaiswal
    Answered by Prachi

    HQL stands for Hibernate Query Language. It is an object-oriented query language which is much similar to SQL( Structured Query Language). But the only difference is that, while SQL works with tables and columns, HQL operates with persistent objects and their properties. HQL is then translated into traditional queries (SQL), which perform the desired command on the database. HQL provides simpler support to relational operations.

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

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

Hibernate Interview Questions

Why is ORM preferred over JDBC?

It allows business code access the objects rather than Database tables. It hides the details of SQL queries from OO log..

Ask a Question