He has a lot of info on high performance Hibernate and particularly the n + 1 issue.
It should be mostly avoidable.
For anyone else interested, here’s one post he has on the problem: https://vladmihalcea.com/n-plus-1-query-problem/
I haven't been there for a while but I'm fairly sure there should be a few more.
Some would say this makes them a bad abstraction, but to me, data mapping is going to have to happen somewhere, and I would rather be building on someone else's work to write the data mapping for my applications than do it from scratch. You have to know when the ORM is the right tool to use, and when to drop into plain SQL for your querying, because they do not eliminate the need to write SQL, just reduce it significantly.