Hello Florent,

I understand this as a question about the typeB collection or the typeA
collection exclusively in the C instance?
Then you can't even model this in UML (or so I think), so I don't think you
can in OJB.

The only workaround I know without having two collections in C is a
relation to the class Object (or another parent of A as well as parent of
B), but actually I have huge problems with OJB in determining which is the
real child class with a relation to the parent class.

What is so bad about having two collections in C anyway? In the setter
method you cold restrict on having only one collection filled.

regards,
Birgitta

Reply via email to