HQL Insert,Update,Select and Delete Examples

Let us understand how to perform Insert,Update,Select and Delete operations in HQL Example: In this article,we will use Applicant and Applicant_Backup tables to perform all the above operations. Applicant_Backup table will be used to store backup data from Applicant table using HQL Insert query. Step 1 Create hibernate project Please refer Hibernate setup in eclipse […]

Share this article on

HQL with Aggregate functions

Let us understand about Aggregate functions in HQL Hibernate supports several aggregate functions similar to SQL aggregate functions. Aggregate functions are used to get an aggregate value of any column like SUM(salary) from Employee table , AVG(salary) from Employee table There are multiple such aggregate methods as below supported by Hibernate Let us perform some […]

Share this article on
< Previous Next >