Solved

what is lazy loading in hibernate?

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

729 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