Hibernate is a very popular ORM framework in Java ecosystem. But being a popular framework doesn’t mean that it is free from all predicaments. ORMs are developer friendly and many developers use them to quickly bootstrap their applications and perform database operations without writing database queries — but it can lead to many problems if the developers are not familiar with the underlying functionality of the framework. The n+1 queries problem is one such problem.

N+1 Queries Problem

If you have been using Hibernate(or any other ORM for that matter), chances are you have faced the infamous n+1 queries problem one time or…

Mansoor Ali

init 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store