by Mike May >> Thu, 20 Jul 2006 10:47:00 GMT
Hi All,
Can someone tell me everything I need to know about exclusive collections? A bit of a broad question, I know, but all I've been able to glean from the docs and my own, limited, experience is the following:
(1) They don't take up any storage in the class instance itself, so no reorgs are required when adding or deleting them.
(2) They are implicitly present in the class instance, ie, they are created and deleted when the class is instantiated and destroyed.
(3) When I create a relational view, I can create additional tables corresponding to the exclusive collections on each class?
(4) If a collection isn't exclusive, then it's referred to as a 'shared' collection.
(5) If I change a collection from exclusive to shared, the shared collection will be added to the class and populated from the exclusive collection. If I change a shared collection to an exclusive collection, I ned to populate it myself. Both changes will require a reorg.
What I need to know is, what are the implications of using an exclusive collection, in terms of what I can and can't, and must and mustn't, do with it compared with a shared collection? Given that the check box for Exclusive is unchecked by default, I susect that at least one of those implications is pretty earth-shattering. In the unlikely event that everything I've said above is the be-all and end-all of exclusive collections, then what's the point of them?
Any help, advice and information will be gratefully received.
Regards,
Mike