This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes lazy initialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "lazy initialization" Watch "lazy initialization" New topic

lazy initialization

narender sunkam
Ranch Hand

Joined: May 01, 2004
Posts: 30
Could any one explain what does lazy initialization means?

narender kumar
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Summarized, it means only loading data from the database when it is requested.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: lazy initialization
It's not a secret anymore!