depends attribute has two effects:
1) Ensure automatic creation and deletes (life cycle).
2) Make persistence operation of dependent objects impossible.
It is my opinion 2nd effect is undesirable, since it "breaks" lazy loading.
ClassA has ClassB dependant lazy loaded children.
Since I cant load ClassB objects directly I am "forced" to retrieve ClassA object and iterate over ClassB objects until i find the right one, causing "irrelevant" ClassB objects to be loaded.
I don't really understand why I can't have the benefit of Auto-create and -delete and lazy loading at the same time.
Am I missing something here ?
Regards
Jan H. Hansen
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
