posted 14 years ago
In hibernate, how to handle lazy-initialization manually ? Say,
Each people has many books, each of them has many reviews.
Certainly we have to set it as lazy. then how to load each level of lazy object manually to avoid n+1 problem and improve performance ?
Thanks