What is fetchtype lazy in hibernate?



What is fetchtype lazy in hibernate?..

Answer / Amit Kumar Agrawal

FetchType.LAZY in Hibernate indicates that a relationship should be fetched only when it is explicitly accessed, not during the initial fetch of the parent entity.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Why annotations are used in hibernate?

1 Answers  


What is an orm tool?

1 Answers  


How many types of transaction are there in hibernate?

1 Answers  


How to implement relationships in hibernate?

1 Answers  


Should I use orm or not?

1 Answers  


What is mappedby in hibernate?

1 Answers  


What are callback interfaces in hibernate?

1 Answers  


What is the file name of hibernate configuration file?

1 Answers  


What are the disadvantages of hibernate?

1 Answers  


What is the use of configuration in hibernate?

1 Answers  


Which are the elements of hibernate architecture?

1 Answers  


Is orm faster than sql?

1 Answers  


Categories