adspace


What different fetching strategies are of hibernate?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest hibernate version?

493