What is fetchtype in hibernate?
Answer / Priyanka Wadhwa
The fetchtype in Hibernate determines how a related entity is fetched when it's loaded. It can be set to EAGER (by default) or LAZY, where EAGER means the associated objects are loaded immediately and LAZY means they are loaded only when accessed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Mention some important annotations used for hibernate mapping?
What are the 4 principles of orm?
What is the difference between an orm and an odm?
What is difference between getcurrentsession () and opensession ()?
Why do we use inheritance mapping in hibernate?
Why is orm used?
Explain hibernate configuration file and hibernate mapping file?
Is hibernate sessionfactory is thread safe?
Explain the query object in hibernate?
What is meant by hibernate tuning?
What is difference between session and sessionfactory in hibernate?
What is a meant by light object mapping?