Рет қаралды 1,941
In this video, we explains how to use @BatchSize Hibernate Extension to solve N+1 problem. It's gonna turn N+1 queries to (N/batchsize)+1 queries. And it's static, always on even if you only fetch one collection.
source code: github.com/Tin...