Hibernate groupby criteria HQL query Example
Here I m going to show how to read the data from database using hibernate groupby expression. Hibernate groupby Example: I have a simple Item class which represents different items with categories. I am going to read data with a count of items for each category using groupby expression. Sample Data: