View Single Post
  #3 (permalink)  
Old 11-25-2009, 10:27 AM
Tolls Tolls is offline
Senior Member
 
Join Date: Apr 2009
Posts: 944
Rep Power: 1
Tolls is on a distinguished road
Default
I don't quite understand what you're getting at. You have subclasses, not attributes.

That is, as far as I can remember, lazy loading is all about not getting data from other tables until it is needed. So if your Disc objects had an attribute Artist, which referenced an artist table, then that would not be constructed until getArtist was called (presuming lazy loading was in place for it).

What you have here is not the same thing at all.
Reply With Quote