Tag Archives: Hibernate

How Lazy Loading works in Hibernate?

Here is a great explanation on How lazy loading works in hibernate. It explains each scenario where lazy loading is needed and How lazy loading is avoided in the case of a one to one mapping (constrained = true).

This article also explains how lazy loading can be implemented for custom objects. The idea behind lazy loading is the wrapper or proxy classes that hibernate creates.

More explanation on How lazy loading works is How lazy loading works or implemented in hibernate