What are some advantages of lazy loading?
Answer / Alok Mani Saroj
Lazy loading in Hibernate helps reduce memory usage by loading objects only when they are needed. This can improve performance, as it reduces the amount of data that needs to be loaded initially. However, it may result in slower access times for certain operations due to the need to load related objects on-demand.
| Is This Answer Correct ? | 0 Yes | 0 No |
Name some second level cache types?
What is persistent state?
What are the Collection types in Hibernate?
What is difference between getcurrentsession () and opensession () in hibernate?
What is the difference between hibernate save () saveorupdate () and persist () methods?
What are the general considerations or best practices for defining your hibernate persistent classes?
What is ogm in hibernate?
Is hibernate free?
What is a one-to-one association in hibernate?
What is difference between save and persist method in hibernate?
What inheritance mapping strategies are available in hibernate?
What is one-to-many association in hibernate?