What is lazy and eager initialization?



What is lazy and eager initialization?..

Answer / Indrajeet Kumar Yadav

Lazy initialization means that an entity's associated entities are loaded only when they are needed. Eager initialization means that the related entities are loaded immediately along with the parent entity.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is second level caching?

1 Answers  


What is hibernate dialect used for?

1 Answers  


Is hibernate sessionfactory singleton?

1 Answers  


What are the fetching strategies in hibernate?

1 Answers  


What are the hibernate properties?

1 Answers  


What is version property in hibernate?

1 Answers  


What are the restrictions for the entity classes?

1 Answers  


What is hibernate architecture?

1 Answers  


How to create composite key in hibernate using annotations?

1 Answers  


What is named sql query in hibernate?

1 Answers  


What are the different types of interfaces present in hibernate?

1 Answers  


When do you use merge() and update() in hibernate?

1 Answers  


Categories