1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc)
 

Recent Questions

!!! Hibernate Frequently Asked Questions !!!

what is lazy fetching in hibernate?

!!!Answer!!!- From Technical Expert

Lazy setting decides whether to load child objects while loading the Parent Object.You need to do this setting respective hibernate mapping file of the parent class.Lazy = true (means not to load child)By default the lazy loading of the child objects is true. This make sure that the child objects are not loaded unless they are explicitly invoked in the application by calling getChild() method on parent.In this case hibernate issues a fresh database call to load the child when getChild() is actully called on the Parent object.But in some cases you do need to load the child objects when parent is loaded. Just make the lazy=false and hibernate will load the child when parent is loaded from the database.Exampleslazy=true (default)Address child of User class can be made lazy if it is not required frequently.lazy=falseBut you may need to load the Author object for Book parent whenever you deal with the book for online bookshop

Answered By : null Replied Date : Feb 2 2014
Answer :


Answered By : null Replied Date : Jan 24 2014
Answer :


Answered By : null Replied Date : Jan 22 2014
Answer :


Answered By : rtyry Replied Date : Mar 11 2013
Answer : rtyrtyr


Answered By : null Replied Date : Dec 4 2013
Answer :


Answered By : null Replied Date : Nov 23 2013
Answer :


Answered By : null Replied Date : Nov 1 2013
Answer :


Answered By : null Replied Date : Oct 21 2013
Answer :


Answered By : null Replied Date : Oct 1 2013
Answer :


Answered By : null Replied Date : Feb 6 2014
Answer :


Answered By : null Replied Date : Apr 30 2014
Answer :


Answered By : null Replied Date : May 14 2014
Answer :


Answered By : null Replied Date : Aug 13 2014
Answer :


Answered By : null Replied Date : Aug 14 2014
Answer :


Answered By : null Replied Date : Nov 5 2014
Answer :


Answered By : null Replied Date : Jan 7 2015
Answer :


Answered By : null Replied Date : Jan 24 2015
Answer :


Answered By : null Replied Date : Jan 24 2015
Answer :


Answered By : null Replied Date : May 17 2015
Answer :


Answered By : null Replied Date : Sep 15 2015
Answer :


Answered By : null Replied Date : Nov 13 2015
Answer :


Answered By : null Replied Date : Jan 21 2016
Answer :


Answered By : null Replied Date : Mar 26 2016
Answer :


Answered By : null Replied Date : Apr 15 2016
Answer :


Answered By : null Replied Date : May 9 2016
Answer :


Answered By : null Replied Date : Jun 7 2016
Answer :


Answered By : null Replied Date : Sep 29 2016
Answer :


Answered By : null Replied Date : Nov 10 2016
Answer :


 

You can also contribute to this answer:

Your Name:
Answer:

 
Ask Question and get answer from Expert.
View Answers List from Expert.

Reviews and Comments


PMP, CAPM, PMI is a registered certification mark of the Project Management Institute, Inc

Copyright © www.techfaq360.com 2016


About US | Contact US | Privacy Policy | Terms and Conditions  | Website disclaimer  | Cancellation and Refund Policy  | Shipping & Delivery Policy