N+1 query problem: Why it happens and How to fix it
If you’ve worked with Spring Boot and Hibernate for a while, you’ve probably heard about the N+1 query problem.
It sounds complicated at first, but the idea is actually pretty simple:
You make one da