Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 233 Bytes

File metadata and controls

5 lines (3 loc) · 233 Bytes

N + 1 problem

It depends on the ORM engine, but generally, the fix is to use JOIN query. In hibernate it's e.g. join fetch which results in INNER JOIN SQL query.