+ 9

Qus:- What is lazy loading in hibernate?

19th May 2019, 10:16 AM
Deepika Mourya
Deepika Mourya - avatar
2 Answers
+ 4
Lazy fetching decides whether to loadchild objects while loading the Parent Object. You need to do this setting respective hibernate mapping file of the parent class. Lazy = true (means not to load child) By default the lazy loading of the child objects is true.Feb 3, 2010
19th May 2019, 10:28 AM
Muhammad Rashid
Muhammad Rashid - avatar