Hibernate Query Language
to Hibernate Query Language
Hibernate Query Language or HQL for short is extremely powerful query language. HQL is much like SQL and are case-insensitive, except for the names of the Java Classes and properties. Hibernate Query Language is used to execute queries against database. Hibernate
automatically generates the sql query and execute it against underlying database if HQL is used in the application. HQL is based on the relational object models and makes the SQL object oriented.
table for HQL Examples
Create insurance table and populate it with the data. To create the insurance table and insert the sample data, run the following sql query:
Now, read more information at: