Question: what is the difference between lazy loading and eager loading in hibernate?
Answer: Eager Loading is a design pattern in which data initialization occurs on the spot. Lazy Loading is a design pattern which is used to defer initialization of an object as long as it's possible.