What is lazy loading effect?



What is lazy loading effect?..

Answer / Isharar Ahamad

Lazy loading in Hibernate means that an association or collection is only loaded when it is accessed. This can improve application performance but may lead to Lazy Initialization Exceptions if the object is never accessed before being garbage collected.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is hibernate query cache?

1 Answers  


What is the difference between update and merge?

1 Answers  


How many attributes are there in column annotation?

1 Answers  


How do you integrate hibernate with struts2 or servlet web applications?

1 Answers  


What is HQL?

1 Answers  


Is hibernate sessionfactory singleton?

1 Answers  


What is the default cache service of hibernate?

1 Answers  


Why do we use cascade in hibernate?

1 Answers  


What is difference between eager and lazy loading?

1 Answers  


What is hibernate criteria api?

1 Answers  


What are the important tags of hibernate.cfg.xml?

1 Answers  


Why is hibernate preferred over jdbc?

1 Answers  


Categories