Advertisement



< Prev
Next >



Hibernate Query Language(HQL)



Hibernate provides a way to query the database and access the objects using Hibernate Query Language(HQL), which is an alternative to SQL. Although the queries of Hibernate Query Language(HQL) are quite similar to SQL queries though there is still a difference.

The main difference between Hibernate Query Language(HQL) and SQL is that, using HQL we query the database tables using the class names they were mapped from, in order to fetch their objects, while using SQL, we query the tables using their table names to fetch their records.

Let's understand the Hibernate Query Language(HQL) using some important example in this and the next few articles.




Note :


Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement