What different fetching strategies are of hibernate?
Answer / Yash Vardhan Srivavastava
Hibernate provides the following fetching strategies:n
1. Join Fetch: It loads related objects as a part of the main query.
2. Lazy Initialization: It loads objects only when they are accessed (default behavior).
3. Eager Initialization: It loads all related objects along with the main object in a single query.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we get hibernate statistics?
What does fetchtype lazy mean?
What is difference between lazy loading and eager loading in hibernate?
What does hibernate show_sql true means?
What are the types of inheritance models in hibernate?
What is dialect in hibernate?
What is the purpose of an orm?
What is <unk>onetomany mappedby?
Is session is thread safe in hibernate?
What is the hibernate life cycle of an entity?
What is mapping in coding?
What are the 5 steps of orm?