Brian Vaughn reminds us that when using tools that let you lazily load data it is always best to make sure you write your method calls to get only what you want and nothing more or less. People tend to ignore this principle and it becomes very easy to just lazily load everything.
- Posted by: Floyd Marinescu
- Posted on: July 11 2005 10:54 EDT
Read N + 1 Selects and the problem with lazily loading everything.