What is lazy fetching in hibernate

 
 

Share on Google+Share on Google+

Java Coder
What is lazy fetching in hibernate
1 Answer(s)      4 years and 8 months ago
Posted in : Hibernate
Ads

Hi,

What is lazy fetching in hibernate

Thanks,

Ads
View Answers

May 1, 2013 at 1:51 PM


hi,

In Hibernate you may face problems which loading data in hibernate program. In Hibernate lazy fetching means loading child objects while loading the Parent Object. This setting must be done in Hibernate mapping XML / Parent file of the parent class.

For more about the hibernate lazy fetching concept read this article: http://www.roseindia.net/hibernate/hibernate4/hibernate_lazy.shtml

Thanks,


Ads









Related Tutorials/Questions & Answers:
What is lazy fetching in hibernate
What is lazy fetching in hibernate  Hi, What is lazy fetching in hibernate Thanks
Lazy initialization in hibernate.
Lazy initialization in hibernate.  What is lazy initialization in hibernate
Advertisements
Hibernate Lazy Initialization
Hibernate Lazy Initialization  What is lazy initialization in hibernate?   In Lazy Loading, Hibernate engine loads only those objects... 'lazy' can be used to let Hibernate know if the associated entity or collection has
Hibernare Lazy - Hibernate
Hibernare Lazy  What is a lazy loading in hibernate?i want one example of source code?plz reply
Hibernate lazy
In this section, you will learn about lazy loading in Hibernate
Lazy loading
Lazy loading  what is lazy loading ? when we set lazy = proxy what it does   Hi Friend, In Lazy Loading, Hibernate engine loads only those.... In Hibernate, u can make lazy=true or lazy=false. Lazy initialization comes into play
Hibernate Criteria Lazy Loading
hibernate criteria lazy loading To perform a Lazy Loading in Hibernate Criteria do the following Criteria criteria = session.createCriteria(Contact.class...", 1)); An example Lazy Loading is given below, Please consider the example
Hibernate:What is Hibernate proxy?
Hibernate:What is Hibernate proxy?  What is Hibernate proxy?   Proxy means the authority to represent someone else In hibernate, you can... is created by default by Hibernate, for mapping a class to a file. The code to invoke
What is Hibernate
What is Hibernate  Hi, What is Hibernate? Thanks
what is hibernate - Hibernate
what is hibernate  What is Hibernate? What is the use use of Hibernate ORM? Thanks  Hi friend read for more information http://www.roseindia.net/hibernate
What is hibernate ?
What is hibernate ?   What is hibernate ? explain with simple example.   Hibernate is an Open Source persistence technology. It provides... problems. Hibernate works as a bridge between application and database
Hibernate - Hibernate Interview Questions
Hibernate  What is a fetching in hibernate
Hibernate:What is hibernate?
Hibernate:What is hibernate?  What is hibernate?   Hibernate: -Hibernate is an Open Source persistence technology. It provides Object.... Hibernate works as a bridge between application and database. Application
What are the advantages of Hibernate?
What are the advantages of Hibernate?  Hi, Tell me the advantages of Hibernate? Thanks   Hibernate advantages: Database independent application. 2.In Jdbc we use .properties file and in hibernate we use .xml file
What is Hibernate proxy?
What is Hibernate proxy?   Hi, What is Hibernate proxy? thanks
What is review of Hibernate in Java?
What is review of Hibernate in Java?  Hi, Is Hibernate really popular? What is review of Hibernate in Java? Thanks
What is Hibernate and what is its use?
What is Hibernate and what is its use?  Hi, What is Hibernate.... You can find more details at: What is Hibernate in Java - full details? What is Hibernate in Java? What is use of Hibernate? Hibernate is famous and one
What is component mapping in Hibernate?
What is component mapping in Hibernate?  Hi, What is component mapping in Hibernate? thanks
What are the Collection types in Hibernate ?
What are the Collection types in Hibernate ?  hi, What are the Collection types in Hibernate ? Thanks
What are derived properties in hibernate?
What are derived properties in hibernate?  Hi, What are derived properties in hibernate? Thanks
What are the benefits of ORM and Hibernate?
What are the benefits of ORM and Hibernate?  Hi, What are the benefits of ORM and Hibernate? Thanks
What is Hibernate Framework?
What is Hibernate Framework?  I am beginner in Hibernate and trying to find the tutorials of Hibernate. Can anyone tell me what is Hibernate... the tutorial What is Hibernate in Java?. Thanks
What is the use of Hibernate?
What is the use of Hibernate?  Hi All, Can anyone tell me what is Hibernate. For what purpose it is used? What are advantages and disadvantes of Hibernate? Thanks   Hi, Read it at Hibernate advantages
What is Hibernate sessionfactory
What is Hibernate sessionfactory  Hi, I am new in Hibernate. I trying to write a simple program in Hibernate. Can anyone explain me about the hibernate sessionfactory? Thanks
Hibernate Criteria Dynamic Association Fetching
Hibernate Criteria Dynamic Association Fetching In this tutorial you will learn about the dynamic association fetching in Criteria Query. In a Criteria Query a dynamic fetching operation can be done using the fields, JOIN, SELECT
What is hibernate technology in java?
What is hibernate technology in java?  What is hibernate technology in java?   Hibernate: -Hibernate is an Open Source persistence... impedance mismatch problems. For Hibernate detail click here
What is the use of Hibernate is used?
What is the use of Hibernate is used?  Hi, What is the use of the Hibernate framework? Thanks   Hello, Hibernate is the ORM framework.... Check the tutorial Why hibernate is used?. Thanks
What is prerequisite to learn Hibernate?
What is prerequisite to learn Hibernate?  Hi, I am thinking of learning Hibernate and master it quickly. But don't know where to start or what technology I should learn first? What is prerequisite to learn Hibernate? Thanks
What are dialects in hibernate?
What are dialects in hibernate?  I am beginner in Hibernate. I just heard something about the dialects. Can anyone explain me What are dialects in hibernate? Thanks   HI, Hibernate is database independent ORM tool
What is Hibernate Criteria Transformer?
What is Hibernate Criteria Transformer?  Hi, Can anyone explain me about the Hibernate Criteria Transformer? I need good example of Hibernate Criteria Transformer . Thanks   Hi, check the example Hibernate Criteria
What are criteria Queries in Hibernate?
What are criteria Queries in Hibernate?  Just explain me what is Criteria Query in Hibernate with examples? Thanks   Criteria queries are very helpful in hibernate for queries based on certain criteria. Check

Ads

 
Advertisement null

Ads