Question: what is the difference between lazy and eager fetching in spring?
Answer: Pros and Cons of these two fetch types. Lazy initialization improves performance by avoiding unnecessary computation and reduce memory requirements. Eager initialization takes more memory consumption and processing speed is slow. Having said that, depends on the situation either one of these initialization can be used.