Hi, I guess I did not really understand castors lazy loading.
Hope someone can help me...

I found this on http://castor.exolab.org/castor-one.html#Lazy-Loading:
"The elements in the collection are only loaded when the application
asks for the object from the collection, using, for example,
iterator.next()."

Did I get the following right?
For example:
I have a person and this person has a collection of its addresses.

For the case that I use lazy-loading for this address-collection in
person:
I load a person from the database and castor does NOT load the
address-objects into the collection?
But as soon as I reference one address (by using an iterator), castor
gets this object (with all its attributes) from the database?
Or do I have to care for the loading of the addresses into the
collection myself?

Thanks for help...

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to