This one time, at band camp, Brett Porter said:

BP>I've done that before - it entailed further problems, but I think I have to
BP>work at it from another angle as it is apparent that the id's themselves
BP>don't work.
BP>
BP>You also need to call "setContainer( this )" from addItem, right?

Yes, that's absolutely correct, hence the requirement for a
bi-directional relationship.

BP>I needed a definitive word on this - I used IDs in my previous project, but
BP>they weren't dependants so it made more sense.

You could use ids but Castor won't manage that. You'd need to handle
it yourself. I've used ids before and I had to handle this situation
myself. I couldn't rely on Castor to maintain the relations.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to