?
Solved

what is lazy loading in hibernate?

Posted on 2007-04-03
3
Medium Priority
?
11,192 Views
Last Modified: 2009-08-20
what is lazy loading in hibernate?how  it works either i give lazy="true" or lazy="false" in mapping file;should i use "true" or false in the mapping file.
0
Comment
Question by:chaitu chaitu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Expert Comment

by:gatorvip
ID: 18844722
Some explanations on lazy loading
http://www.hibernate.org/162.html

Hibernate: dealing with lazy loading inevitable
http://technology.amis.nl/blog/?p=260
0
 
LVL 10

Expert Comment

by:ADSLMark
ID: 18844747
I guess it's best explained at the following page:

http://www.hibernate.org/162.html

lazy means, don't load it until you need it..

Mark
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 2000 total points
ID: 18865793
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question