Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

what is lazy loading in hibernate?

Posted on 2007-04-03
3
Medium Priority
?
11,197 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

609 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