
About this episode
In our last Hibernate lesson, you learned how to fix duplicate data from hibernate queries.
In this lesson we're going to focus on some of theaggregate functions that can be used with Hibernate, and of course that means diving into theGroup By clause.
What's important to note is that Hibernate doesn't ever refer to it as group by, instead they use the term projections.
So, armed with this knowledge, let's jump into the lesson!
Grouping Data with Hibernate
In our examples, I'm going to show you how to create a query with hibernate that will group your data in some manner.
When we build our query, we will be focusing on using Hibernate's Criteria queries, which allows for a nice way to build queries without having to know any SQL.
First, let's start off with an example that we will build on.
Get every episode summarized
Each time How to Program with Java Podcast publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from How to Program with Java Podcast

I'm Losing Contracts to AI. Here's Why That's Actually Good Newsde
How to Program with Java Podcast

What Happened to the Bootcamp, Why AI Changed Everything, and What's Next
How to Program with Java Podcast

Unlocking Your First Coding Job: The Realities and Solutions
How to Program with Java Podcast

Alex almost quit coding forever while in this Bootcamp
How to Program with Java Podcast