Solved

what is lazy loading in hibernate?

Posted on 2007-04-03
3
11,180 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
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 500 total points
ID: 18865793
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java DateChooser? 3 36
Basic Java Case or If-Else statement... 3 51
Apps blocked by Java 9 81
hibernate example using maven 12 42
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

822 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