Post navigation

HQL Parameter binding

HQL Parameter binding

Hibernate query language flexible enough to fit all development needs to execute SQL query to get data from table. It supports almost all approach which developer can think of. Below are different approach which HQL supports:

Native SQL: As it name suggests you could directly write SQL statement and execute against the database and only one thing in place to table and column name you will have to give class and its attribute name. Below is example: