Solved

what is lazy loading in hibernate?

Posted on 2007-04-03
3
11,181 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Opening PDF on button click and fill new document 2 47
Running JavaFX on JDeveloper 12C 1 54
How  can  i  resolve  HTTP Status 404 -? 8 43
printf performancy 11 69
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 Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

856 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