June 2002
Intermediate to advanced
400 pages
7h 48m
English
We're going to look at two methods of optimizing, the model and the fetches it performs.
The first method we'll look at is a fairly simple method to use.
You might have noticed that displaying the list of Forum.moderators, on the Main page, resulted in the fetching of the moderators for each of the forums listed. This would have consisted of two fetches per forum. One for the JOIN table and the second from the USER table.
When an Enterprise Object is fetched, its related objects are not fetched along with it. This is for performance and efficiency.
Imagine if this were the case. Then an entire object graph would be pulled into memory when an Enterprise Object is ...