concept lazy loading in category iBatis

This is an excerpt from Manning's book iBatis in Action.
Modern object/relational mapping tools do more than simply generate SQL. They offer a complete persistence architecture that benefits the entire application. Any good object/relational mapping tool will provide transaction management. This includes simple APIs for dealing with both local and distributed transactions. O/RM tools also usually offer multiple caching strategies for dealing with different kinds of data to avoid needless access of the database. Another way that an O/RM tool can reduce database hits is by lazy loading of data. Lazy loading delays the retrieval of data until absolutely necessary, right at the point where the data is used.
Lazy loading is a technique in which you load only the information that is essential, and defer the loading of other data until it is specifically requested. In other words, you want to have the application do as little as possible until it is absolutely required.
In the previous chapter, we talked about an example where you had 1,000 customer accounts with 1,000 orders each, and 25 items on each order. Loading all of that data would require creating 25,000,000 objects, and keeping them in memory. Using lazy loading we reduce that requirement to a number closer to 2,500, which is one ten-thousandth of the original number.
The lazyLoadingEnabled setting is used to indicate whether or not you want to use lazy loading when you have related mapped statements (which we will talk about in section 6.2.2). Valid values are true or false, and the default value is true.