Questionsforum
What is LAZY LOADING in hibernate ?

What is LAZY LOADING in hibernate ?



On 2014-06-04 06:08:09.0
hablu


In lasyloading when programer calls load(),it will go into db and triggers the db commands but untill unless user will not call that db command it will not loads.it will still waiting .


On 2014-06-06 07:15:34.0
sujata
@sujata There are two methods to load the data from DB in hibernate. First is load() that follows lazy loading while second is get() that will load all dependent data aggressively.


On 2014-06-06 08:05:30.0
hablu
Lazy loading means the dependent information will be loaded lazily on user events. While aggressive loading means all the dependent data will be loaded on server start up only.


On 2014-06-06 08:13:01.0
hablu

copyright@questionsforum.net