What are the fetching strategies in hibernate?
Answer / Prakash Kumar Jha
In Hibernate, fetching strategies determine how to load related entities. There are four main fetching strategies: EAGER (entities are loaded immediately), LAZY (entities are loaded when accessed), JOIN (SQL joins are used to load related entities), and select (only the primary key columns of related entities are loaded).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the limitation of hibernate?
What is lazy code?
Hibernate SessionFactory is thread safe?
What are the disadvantages of hibernate?
What is session object in hibernate?
What is unidirectional and bidirectional in hibernate?
What is a native query?
How to enable logging (log4j) in hibernate?
What is @manytoone fetch fetchtype lazy?
What is difference between hibernate session get() and load() method?
What the four ORM levels are in hibernate?
What is mapping in hibernate?