Database- N+1 query problem

Fix 1: JOIN FETCH in JPQL
→ “SELECT o FROM Order o JOIN FETCH o.customer” — loads everything in ONE query